Route

class Route

Annotation class for @Route().

Methods

__construct(array $data)

Constructor.

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()

Details

__construct(array $data)

Constructor.

Parameters

array $data An array of key/value parameters

Exceptions

BadMethodCallException

setPath($path)

Parameters

$path

getPath()

setHost($pattern)

Parameters

$pattern

getHost()

setName($name)

Parameters

$name

getName()

setRequirements($requirements)

Parameters

$requirements

getRequirements()

setOptions($options)

Parameters

$options

getOptions()

setDefaults($defaults)

Parameters

$defaults

getDefaults()

setSchemes($schemes)

Parameters

$schemes

getSchemes()

setMethods($methods)

Parameters

$methods

getMethods()

setCondition($condition)

Parameters

$condition

getCondition()

doc_Symfony
2016-10-28 06:30:43
Comments
Leave a Comment

Please login to continue.