Spec-Zone.ru › Symfony 3.0

Маршрут

класс Route

Класс аннотаций для @Route().

Методы

__construct(array $data)

Конструктор.

setPath($path)
getPath()
setHost($pattern)
getHost()
setName($name)
getName()
setRequirements($requirements)
getRequirements()
setOptions($options)
getOptions()
setDefaults($defaults)
getDefaults()
setSchemes($schemes)
getSchemes()
setMethods($methods)
getMethods()
setCondition($condition)
getCondition()

Подробности

__construct(array $data)

Конструктор.

Параметры

array $data Массив параметров ключ/значение.

Исключения

BadMethodCallException

setPath($path)

Параметры

$path

getPath()

setHost($pattern)

Параметры

$pattern

getHost()

setName($name)

Параметры

$name

getName()

setRequirements($requirements)

Параметры

$requirements

getRequirements()

setOptions($options)

Параметры

$options

getOptions()

setDefaults($defaults)

Параметры

$defaults

getDefaults()

setSchemes($schemes)

Параметры

$schemes

getSchemes()

setMethods($methods)

Параметры

$methods

getMethods()

setCondition($condition)

Параметры

$condition

getCondition()

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.0/Symfony/Component/Routing/Annotation/Route.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API