Property | Type | Description | |
---|---|---|---|
$generators | WellCommerce\Bundle\RoutingBundle\Generator\RouteGeneratorCollection | Collection of route generators available in collection | |
$repository | WellCommerce\Bundle\RoutingBundle\Repository\RouteRepositoryInterface |
Method | Description | |
---|---|---|
__construct ( WellCommerce\Bundle\RoutingBundle\Generator\RouteGeneratorCollection $generators, WellCommerce\Bundle\RoutingBundle\Repository\RouteRepositoryInterface $repository ) | Constructor | |
getRouteByName ( string $identifier ) : Symfony\Component\Routing\Route | Returns route by its identifier | |
getRouteCollectionForRequest ( |
Returns route collection for current request | |
getRoutesByNames ( $names, $parameters = [] ) |
Method | Description | |
---|---|---|
createRoute ( WellCommerce\Bundle\RoutingBundle\Entity\RouteInterface $resource ) : null | Symfony\Component\Routing\Route | Creates a route | |
getNormalizedPath ( |
Returns normalized path used in resource query |
public __construct ( WellCommerce\Bundle\RoutingBundle\Generator\RouteGeneratorCollection $generators, WellCommerce\Bundle\RoutingBundle\Repository\RouteRepositoryInterface $repository ) | ||
$generators | WellCommerce\Bundle\RoutingBundle\Generator\RouteGeneratorCollection | |
$repository | WellCommerce\Bundle\RoutingBundle\Repository\RouteRepositoryInterface |
public getRouteByName ( string $identifier ) : Symfony\Component\Routing\Route | ||
$identifier | string | |
return | Symfony\Component\Routing\Route |
public getRouteCollectionForRequest ( |
||
$request | ||
return |
protected RouteGeneratorCollection,WellCommerce\Bundle\RoutingBundle\Generator $generators | ||
return | WellCommerce\Bundle\RoutingBundle\Generator\RouteGeneratorCollection |