PHP Interface Sulu\Bundle\RouteBundle\Model\RoutableInterface

Show file Open project: sulu/sulu Interface Usage Examples

Public Methods

Method Description
getId ( ) : mixed Returns identifier.
getLocale ( ) : string
getRoute ( ) : Sulu\Bundle\RouteBundle\Model\RouteInterface Returns route.
setRoute ( Sulu\Bundle\RouteBundle\Model\RouteInterface $route ) Set route.

Method Details

getId() public method

Returns identifier.
public getId ( ) : mixed
return mixed

getLocale() public method

public getLocale ( ) : string
return string

getRoute() public method

Returns route.
public getRoute ( ) : Sulu\Bundle\RouteBundle\Model\RouteInterface
return Sulu\Bundle\RouteBundle\Model\RouteInterface

setRoute() public method

Set route.
public setRoute ( Sulu\Bundle\RouteBundle\Model\RouteInterface $route )
$route Sulu\Bundle\RouteBundle\Model\RouteInterface