MatchUrlComponentAnnotation
class MatchUrlComponentAnnotation extends Annotation implements IMatchUrlAnnotation (View source)
Annotation describing the component URL matching.
Properties
string|null | $path | Path. | |
array|null | $params | Query params. | |
boolean|null | $secure | Protocol (http/https). | |
string|null | $anchor | Anchor. | |
string|null | $host | Hostname. | |
integer|null | $port | Port. | |
string|null | $user | Username. | |
string|null | $pass | Password. |
Methods
void
initAnnotation(array $properties)
Initialize the annotation.
boolean
isValid()
Validates required data.