class Route

Annotation class for @Route().

Methods

__construct(array $data)

No description

setPattern($pattern) deprecated

No description

getPattern() deprecated

No description

setPath($path)

No description

getPath()

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 39
__construct(array $data)

Parameters

array $data An array of key/value parameters

Exceptions

BadMethodCallException

at line 58
setPattern($pattern) deprecated

deprecated since version 2.2, to be removed in 3.0. Use setPath instead.

Parameters

$pattern

at line 68
getPattern() deprecated

deprecated since version 2.2, to be removed in 3.0. Use getPath instead.

at line 75
setPath($path)

Parameters

$path

at line 80
getPath()

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

at line 131
setOptions($options)

Parameters

$options

at line 136
getOptions()

at line 141
setDefaults($defaults)

Parameters

$defaults

at line 146
getDefaults()

at line 151
setSchemes($schemes)

Parameters

$schemes

at line 156
getSchemes()

at line 161
setMethods($methods)

Parameters

$methods

at line 166
getMethods()

at line 171
setCondition($condition)

Parameters

$condition

at line 176
getCondition()