Метод | Описание | |
---|---|---|
__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 ) |
Метод | Описание | |
---|---|---|
getClassMappingConfiguration ( string $className ) : array | Get class mapping configuration by class name or inheritance chain. |
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 |
public create ( Sulu\Bundle\RouteBundle\Model\RoutableInterface $entity, $path = null ) | ||
$entity | Sulu\Bundle\RouteBundle\Model\RoutableInterface |
protected getClassMappingConfiguration ( string $className ) : array | ||
$className | string | |
Результат | array |
public update ( Sulu\Bundle\RouteBundle\Model\RoutableInterface $entity, $path = null ) | ||
$entity | Sulu\Bundle\RouteBundle\Model\RoutableInterface |