PHP Class Sulu\Bundle\RouteBundle\Manager\RouteManager

Inheritance: implements Sulu\Bundle\RouteBundle\Manager\RouteManagerInterface
Show file Open project: sulu/sulu

Public Methods

Method Description
__construct ( array $routeGenerators, Sulu\Bundle\RouteBundle\Entity\RouteRepositoryInterface $routeRepository, Sulu\Bundle\RouteBundle\Manager\ConflictResolverInterface $conflictResolver, array $mappings )
create ( Sulu\Bundle\RouteBundle\Model\RoutableInterface $entity, $path = null )
update ( Sulu\Bundle\RouteBundle\Model\RoutableInterface $entity, $path = null )

Protected Methods

Method Description
getClassMappingConfiguration ( string $className ) : array Get class mapping configuration by class name or inheritance chain.

Method Details

__construct() public method

public __construct ( array $routeGenerators, Sulu\Bundle\RouteBundle\Entity\RouteRepositoryInterface $routeRepository, Sulu\Bundle\RouteBundle\Manager\ConflictResolverInterface $conflictResolver, array $mappings )
$routeGenerators array
$routeRepository Sulu\Bundle\RouteBundle\Entity\RouteRepositoryInterface
$conflictResolver Sulu\Bundle\RouteBundle\Manager\ConflictResolverInterface
$mappings array

create() public method

public create ( Sulu\Bundle\RouteBundle\Model\RoutableInterface $entity, $path = null )
$entity Sulu\Bundle\RouteBundle\Model\RoutableInterface

getClassMappingConfiguration() protected method

Get class mapping configuration by class name or inheritance chain.
protected getClassMappingConfiguration ( string $className ) : array
$className string
return array

update() public method

public update ( Sulu\Bundle\RouteBundle\Model\RoutableInterface $entity, $path = null )
$entity Sulu\Bundle\RouteBundle\Model\RoutableInterface