메소드 |
설명 |
|
__construct ( array $options = [] ) |
PHPCR id can not end on '/', so we need an additional option for a
trailing slash. |
|
generateStaticPrefix ( string $id, string $idPrefix ) : string |
|
|
getChildren ( ) : Doctrine\Common\Collections\Collection |
Get all children of this route including non-routes. |
|
getName ( ) |
|
|
getParentDocument ( ) : object |
The parent document, which might be another route or some other
document. |
|
getPath ( ) |
|
|
getPrefix ( ) |
|
|
getRouteChildren ( ) : Symfony\Cmf\Component\Routing\RouteObjectInterface[] |
Get all route children of this route. |
|
getStaticPrefix ( ) |
|
|
setId ( string $id ) |
PHPCR documents can be moved by setting the id to a new path. |
|
setName ( string $name ) : self |
Rename a route by setting its new name. |
|
setParentDocument ( object $parent ) |
Move the route by setting a parent. |
|
setPath ( $pattern ) |
|
|
setPosition ( $parent, $name ) |
Convenience method to set parent and name at the same time. |
|
setPrefix ( $idPrefix ) |
|
|
setStaticPrefix ( $prefix ) |
|
|