class Route

Annotation class for @Route().

Methods

__construct(array $data)

No description

setPath($path)

No description

getPath()

No description

setLocalizedPaths(array $localizedPaths)

No description

array
getLocalizedPaths()

No description

setHost($pattern)

No description

getHost()

No description

setName($name)

No description

getName()

No description

setRequirements($requirements)

No description

getRequirements()

No description

setOptions($options)

No description

getOptions()

No description

setDefaults($defaults)

No description

getDefaults()

No description

setSchemes($schemes)

No description

getSchemes()

No description

setMethods($methods)

No description

getMethods()

No description

setCondition($condition)

No description

getCondition()

No description

Details

at line 40
__construct(array $data)

Parameters

array $data An array of key/value parameters

Exceptions

BadMethodCallException

at line 65
setPath($path)

Parameters

$path

at line 70
getPath()

at line 75
setLocalizedPaths(array $localizedPaths)

Parameters

array $localizedPaths

at line 80
array getLocalizedPaths()

Return Value

array

at line 85
setHost($pattern)

Parameters

$pattern

at line 90
getHost()

at line 95
setName($name)

Parameters

$name

at line 100
getName()

at line 105
setRequirements($requirements)

Parameters

$requirements

at line 110
getRequirements()

at line 115
setOptions($options)

Parameters

$options

at line 120
getOptions()

at line 125
setDefaults($defaults)

Parameters

$defaults

at line 130
getDefaults()

at line 135
setSchemes($schemes)

Parameters

$schemes

at line 140
getSchemes()

at line 145
setMethods($methods)

Parameters

$methods

at line 150
getMethods()

at line 155
setCondition($condition)

Parameters

$condition

at line 160
getCondition()