Documentation

Route
in package

Annotation class for @Route().

Tags
Annotation
NamedArgumentConstructor
Target

({"CLASS", "METHOD"})

author

Fabien Potencier fabien@symfony.com

author

Alexander M. Turek me@derrabus.de

Table of Contents

$condition  : mixed
$defaults  : mixed
$env  : mixed
$host  : mixed
$localizedPaths  : mixed
$methods  : mixed
$name  : mixed
$options  : mixed
$path  : mixed
$priority  : mixed
$requirements  : mixed
$schemes  : mixed
__construct()  : mixed
getCondition()  : mixed
getDefaults()  : mixed
getEnv()  : string|null
getHost()  : mixed
getLocalizedPaths()  : array<string|int, mixed>
getMethods()  : mixed
getName()  : mixed
getOptions()  : mixed
getPath()  : mixed
getPriority()  : int|null
getRequirements()  : mixed
getSchemes()  : mixed
setCondition()  : mixed
setDefaults()  : mixed
setEnv()  : void
setHost()  : mixed
setLocalizedPaths()  : mixed
setMethods()  : mixed
setName()  : mixed
setOptions()  : mixed
setPath()  : mixed
setPriority()  : void
setRequirements()  : mixed
setSchemes()  : mixed

Properties

$condition

private mixed $condition

$defaults

private mixed $defaults = []

$localizedPaths

private mixed $localizedPaths = []

$methods

private mixed $methods = []

$options

private mixed $options = []

$priority

private mixed $priority

$requirements

private mixed $requirements = []

$schemes

private mixed $schemes = []

Methods

__construct()

public __construct([array<string|int, mixed>|string $data = [] ][, array<string|int, mixed>|string|null $path = null ][, string|null $name = null ][, array<string|int, string> $requirements = [] ][, array<string|int, mixed> $options = [] ][, array<string|int, mixed> $defaults = [] ][, string|null $host = null ][, array<string|int, string>|string $methods = [] ][, array<string|int, string>|string $schemes = [] ][, string|null $condition = null ][, int|null $priority = null ][, string|null $locale = null ][, string|null $format = null ][, bool|null $utf8 = null ][, bool|null $stateless = null ][, string|null $env = null ]) : mixed
Parameters
$data : array<string|int, mixed>|string = []

data array managed by the Doctrine Annotations library or the path

$path : array<string|int, mixed>|string|null = null
$name : string|null = null
$requirements : array<string|int, string> = []
$options : array<string|int, mixed> = []
$defaults : array<string|int, mixed> = []
$host : string|null = null
$methods : array<string|int, string>|string = []
$schemes : array<string|int, string>|string = []
$condition : string|null = null
$priority : int|null = null
$locale : string|null = null
$format : string|null = null
$utf8 : bool|null = null
$stateless : bool|null = null
$env : string|null = null
Tags
throws
BadMethodCallException
Return values
mixed

getCondition()

public getCondition() : mixed
Return values
mixed

getDefaults()

public getDefaults() : mixed
Return values
mixed

getEnv()

public getEnv() : string|null
Return values
string|null

getHost()

public getHost() : mixed
Return values
mixed

getLocalizedPaths()

public getLocalizedPaths() : array<string|int, mixed>
Return values
array<string|int, mixed>

getMethods()

public getMethods() : mixed
Return values
mixed

getName()

public getName() : mixed
Return values
mixed

getOptions()

public getOptions() : mixed
Return values
mixed

getPath()

public getPath() : mixed
Return values
mixed

getPriority()

public getPriority() : int|null
Return values
int|null

getRequirements()

public getRequirements() : mixed
Return values
mixed

getSchemes()

public getSchemes() : mixed
Return values
mixed

setCondition()

public setCondition(string|null $condition) : mixed
Parameters
$condition : string|null
Return values
mixed

setDefaults()

public setDefaults(array<string|int, mixed> $defaults) : mixed
Parameters
$defaults : array<string|int, mixed>
Return values
mixed

setEnv()

public setEnv(string|null $env) : void
Parameters
$env : string|null
Return values
void

setHost()

public setHost(string $pattern) : mixed
Parameters
$pattern : string
Return values
mixed

setLocalizedPaths()

public setLocalizedPaths(array<string|int, mixed> $localizedPaths) : mixed
Parameters
$localizedPaths : array<string|int, mixed>
Return values
mixed

setMethods()

public setMethods(mixed $methods) : mixed
Parameters
$methods : mixed
Return values
mixed

setName()

public setName(string $name) : mixed
Parameters
$name : string
Return values
mixed

setOptions()

public setOptions(array<string|int, mixed> $options) : mixed
Parameters
$options : array<string|int, mixed>
Return values
mixed

setPath()

public setPath(string $path) : mixed
Parameters
$path : string
Return values
mixed

setPriority()

public setPriority(int $priority) : void
Parameters
$priority : int
Return values
void

setRequirements()

public setRequirements(array<string|int, mixed> $requirements) : mixed
Parameters
$requirements : array<string|int, mixed>
Return values
mixed

setSchemes()

public setSchemes(mixed $schemes) : mixed
Parameters
$schemes : mixed
Return values
mixed

Search results