Метод | Описание | |
---|---|---|
it_configures_grid_for_index_action_if_specified ( Sylius\Component\Resource\Metadata\RegistryInterface $resourceRegistry, Sylius\Component\Resource\Metadata\MetadataInterface $metadata, Sylius\Bundle\ResourceBundle\Routing\RouteFactoryInterface $routeFactory, |
||
it_excludes_specific_routes_if_configured ( Sylius\Component\Resource\Metadata\RegistryInterface $resourceRegistry, Sylius\Component\Resource\Metadata\MetadataInterface $metadata, Sylius\Bundle\ResourceBundle\Routing\RouteFactoryInterface $routeFactory, |
||
it_generates_api_routing_based_on_resource_configuration ( Sylius\Component\Resource\Metadata\RegistryInterface $resourceRegistry, Sylius\Component\Resource\Metadata\MetadataInterface $metadata, Sylius\Bundle\ResourceBundle\Routing\RouteFactoryInterface $routeFactory, |
||
it_generates_routing_based_on_resource_configuration ( Sylius\Component\Resource\Metadata\RegistryInterface $resourceRegistry, Sylius\Component\Resource\Metadata\MetadataInterface $metadata, Sylius\Bundle\ResourceBundle\Routing\RouteFactoryInterface $routeFactory, |
||
it_generates_routing_for_a_section ( Sylius\Component\Resource\Metadata\RegistryInterface $resourceRegistry, Sylius\Component\Resource\Metadata\MetadataInterface $metadata, Sylius\Bundle\ResourceBundle\Routing\RouteFactoryInterface $routeFactory, |
||
it_generates_routing_with_custom_form_if_specified ( Sylius\Component\Resource\Metadata\RegistryInterface $resourceRegistry, Sylius\Component\Resource\Metadata\MetadataInterface $metadata, Sylius\Bundle\ResourceBundle\Routing\RouteFactoryInterface $routeFactory, |
||
it_generates_routing_with_custom_path_if_specified ( Sylius\Component\Resource\Metadata\RegistryInterface $resourceRegistry, Sylius\Component\Resource\Metadata\MetadataInterface $metadata, Sylius\Bundle\ResourceBundle\Routing\RouteFactoryInterface $routeFactory, |
||
it_generates_routing_with_custom_permission ( Sylius\Component\Resource\Metadata\RegistryInterface $resourceRegistry, Sylius\Component\Resource\Metadata\MetadataInterface $metadata, Sylius\Bundle\ResourceBundle\Routing\RouteFactoryInterface $routeFactory, |
||
it_generates_routing_with_custom_redirect_if_specified ( Sylius\Component\Resource\Metadata\RegistryInterface $resourceRegistry, Sylius\Component\Resource\Metadata\MetadataInterface $metadata, Sylius\Bundle\ResourceBundle\Routing\RouteFactoryInterface $routeFactory, |
||
it_generates_routing_with_custom_templates_namespace ( Sylius\Component\Resource\Metadata\RegistryInterface $resourceRegistry, Sylius\Component\Resource\Metadata\MetadataInterface $metadata, Sylius\Bundle\ResourceBundle\Routing\RouteFactoryInterface $routeFactory, |
||
it_generates_routing_with_custom_variables ( Sylius\Component\Resource\Metadata\RegistryInterface $resourceRegistry, Sylius\Component\Resource\Metadata\MetadataInterface $metadata, Sylius\Bundle\ResourceBundle\Routing\RouteFactoryInterface $routeFactory, |
||
it_generates_urlized_paths_for_resources_with_multiple_words_in_name ( Sylius\Component\Resource\Metadata\RegistryInterface $resourceRegistry, Sylius\Component\Resource\Metadata\MetadataInterface $metadata, Sylius\Bundle\ResourceBundle\Routing\RouteFactoryInterface $routeFactory, |
||
it_includes_only_specific_routes_if_configured ( Sylius\Component\Resource\Metadata\RegistryInterface $resourceRegistry, Sylius\Component\Resource\Metadata\MetadataInterface $metadata, Sylius\Bundle\ResourceBundle\Routing\RouteFactoryInterface $routeFactory, |
||
it_is_a_Symfony_routing_loader ( ) | ||
it_is_initializable ( ) | ||
it_processes_configuration_and_throws_exception_if_invalid ( ) | ||
it_supports_sylius_resource_type ( ) | ||
it_throws_an_exception_if_both_excluded_and_includes_routes_configured ( ) | ||
it_throws_an_exception_if_invalid_resource_configured ( Sylius\Component\Resource\Metadata\RegistryInterface $resourceRegistry ) | ||
let ( Sylius\Component\Resource\Metadata\RegistryInterface $resourceRegistry, Sylius\Bundle\ResourceBundle\Routing\RouteFactoryInterface $routeFactory ) |
public it_configures_grid_for_index_action_if_specified ( Sylius\Component\Resource\Metadata\RegistryInterface $resourceRegistry, Sylius\Component\Resource\Metadata\MetadataInterface $metadata, Sylius\Bundle\ResourceBundle\Routing\RouteFactoryInterface $routeFactory, |
||
$resourceRegistry | Sylius\Component\Resource\Metadata\RegistryInterface | |
$metadata | Sylius\Component\Resource\Metadata\MetadataInterface | |
$routeFactory | Sylius\Bundle\ResourceBundle\Routing\RouteFactoryInterface | |
$routeCollection | ||
$indexRoute | Symfony\Component\Routing\Route | |
$createRoute | Symfony\Component\Routing\Route |
public it_excludes_specific_routes_if_configured ( Sylius\Component\Resource\Metadata\RegistryInterface $resourceRegistry, Sylius\Component\Resource\Metadata\MetadataInterface $metadata, Sylius\Bundle\ResourceBundle\Routing\RouteFactoryInterface $routeFactory, |
||
$resourceRegistry | Sylius\Component\Resource\Metadata\RegistryInterface | |
$metadata | Sylius\Component\Resource\Metadata\MetadataInterface | |
$routeFactory | Sylius\Bundle\ResourceBundle\Routing\RouteFactoryInterface | |
$routeCollection | ||
$indexRoute | Symfony\Component\Routing\Route | |
$createRoute | Symfony\Component\Routing\Route | |
$updateRoute | Symfony\Component\Routing\Route |
public it_generates_api_routing_based_on_resource_configuration ( Sylius\Component\Resource\Metadata\RegistryInterface $resourceRegistry, Sylius\Component\Resource\Metadata\MetadataInterface $metadata, Sylius\Bundle\ResourceBundle\Routing\RouteFactoryInterface $routeFactory, |
||
$resourceRegistry | Sylius\Component\Resource\Metadata\RegistryInterface | |
$metadata | Sylius\Component\Resource\Metadata\MetadataInterface | |
$routeFactory | Sylius\Bundle\ResourceBundle\Routing\RouteFactoryInterface | |
$routeCollection | ||
$showRoute | Symfony\Component\Routing\Route | |
$indexRoute | Symfony\Component\Routing\Route | |
$createRoute | Symfony\Component\Routing\Route | |
$updateRoute | Symfony\Component\Routing\Route | |
$deleteRoute | Symfony\Component\Routing\Route |
public it_generates_routing_based_on_resource_configuration ( Sylius\Component\Resource\Metadata\RegistryInterface $resourceRegistry, Sylius\Component\Resource\Metadata\MetadataInterface $metadata, Sylius\Bundle\ResourceBundle\Routing\RouteFactoryInterface $routeFactory, |
||
$resourceRegistry | Sylius\Component\Resource\Metadata\RegistryInterface | |
$metadata | Sylius\Component\Resource\Metadata\MetadataInterface | |
$routeFactory | Sylius\Bundle\ResourceBundle\Routing\RouteFactoryInterface | |
$routeCollection | ||
$showRoute | Symfony\Component\Routing\Route | |
$indexRoute | Symfony\Component\Routing\Route | |
$createRoute | Symfony\Component\Routing\Route | |
$updateRoute | Symfony\Component\Routing\Route | |
$deleteRoute | Symfony\Component\Routing\Route |
public it_generates_routing_for_a_section ( Sylius\Component\Resource\Metadata\RegistryInterface $resourceRegistry, Sylius\Component\Resource\Metadata\MetadataInterface $metadata, Sylius\Bundle\ResourceBundle\Routing\RouteFactoryInterface $routeFactory, |
||
$resourceRegistry | Sylius\Component\Resource\Metadata\RegistryInterface | |
$metadata | Sylius\Component\Resource\Metadata\MetadataInterface | |
$routeFactory | Sylius\Bundle\ResourceBundle\Routing\RouteFactoryInterface | |
$routeCollection | ||
$showRoute | Symfony\Component\Routing\Route | |
$indexRoute | Symfony\Component\Routing\Route | |
$createRoute | Symfony\Component\Routing\Route | |
$updateRoute | Symfony\Component\Routing\Route | |
$deleteRoute | Symfony\Component\Routing\Route |
public it_generates_routing_with_custom_form_if_specified ( Sylius\Component\Resource\Metadata\RegistryInterface $resourceRegistry, Sylius\Component\Resource\Metadata\MetadataInterface $metadata, Sylius\Bundle\ResourceBundle\Routing\RouteFactoryInterface $routeFactory, |
||
$resourceRegistry | Sylius\Component\Resource\Metadata\RegistryInterface | |
$metadata | Sylius\Component\Resource\Metadata\MetadataInterface | |
$routeFactory | Sylius\Bundle\ResourceBundle\Routing\RouteFactoryInterface | |
$routeCollection | ||
$showRoute | Symfony\Component\Routing\Route | |
$indexRoute | Symfony\Component\Routing\Route | |
$createRoute | Symfony\Component\Routing\Route | |
$updateRoute | Symfony\Component\Routing\Route | |
$deleteRoute | Symfony\Component\Routing\Route |
public it_generates_routing_with_custom_path_if_specified ( Sylius\Component\Resource\Metadata\RegistryInterface $resourceRegistry, Sylius\Component\Resource\Metadata\MetadataInterface $metadata, Sylius\Bundle\ResourceBundle\Routing\RouteFactoryInterface $routeFactory, |
||
$resourceRegistry | Sylius\Component\Resource\Metadata\RegistryInterface | |
$metadata | Sylius\Component\Resource\Metadata\MetadataInterface | |
$routeFactory | Sylius\Bundle\ResourceBundle\Routing\RouteFactoryInterface | |
$routeCollection | ||
$showRoute | Symfony\Component\Routing\Route | |
$indexRoute | Symfony\Component\Routing\Route | |
$createRoute | Symfony\Component\Routing\Route | |
$updateRoute | Symfony\Component\Routing\Route | |
$deleteRoute | Symfony\Component\Routing\Route |
public it_generates_routing_with_custom_permission ( Sylius\Component\Resource\Metadata\RegistryInterface $resourceRegistry, Sylius\Component\Resource\Metadata\MetadataInterface $metadata, Sylius\Bundle\ResourceBundle\Routing\RouteFactoryInterface $routeFactory, |
||
$resourceRegistry | Sylius\Component\Resource\Metadata\RegistryInterface | |
$metadata | Sylius\Component\Resource\Metadata\MetadataInterface | |
$routeFactory | Sylius\Bundle\ResourceBundle\Routing\RouteFactoryInterface | |
$routeCollection | ||
$showRoute | Symfony\Component\Routing\Route | |
$indexRoute | Symfony\Component\Routing\Route | |
$createRoute | Symfony\Component\Routing\Route | |
$updateRoute | Symfony\Component\Routing\Route | |
$deleteRoute | Symfony\Component\Routing\Route |
public it_generates_routing_with_custom_redirect_if_specified ( Sylius\Component\Resource\Metadata\RegistryInterface $resourceRegistry, Sylius\Component\Resource\Metadata\MetadataInterface $metadata, Sylius\Bundle\ResourceBundle\Routing\RouteFactoryInterface $routeFactory, |
||
$resourceRegistry | Sylius\Component\Resource\Metadata\RegistryInterface | |
$metadata | Sylius\Component\Resource\Metadata\MetadataInterface | |
$routeFactory | Sylius\Bundle\ResourceBundle\Routing\RouteFactoryInterface | |
$routeCollection | ||
$showRoute | Symfony\Component\Routing\Route | |
$indexRoute | Symfony\Component\Routing\Route | |
$createRoute | Symfony\Component\Routing\Route | |
$updateRoute | Symfony\Component\Routing\Route | |
$deleteRoute | Symfony\Component\Routing\Route |
public it_generates_routing_with_custom_templates_namespace ( Sylius\Component\Resource\Metadata\RegistryInterface $resourceRegistry, Sylius\Component\Resource\Metadata\MetadataInterface $metadata, Sylius\Bundle\ResourceBundle\Routing\RouteFactoryInterface $routeFactory, |
||
$resourceRegistry | Sylius\Component\Resource\Metadata\RegistryInterface | |
$metadata | Sylius\Component\Resource\Metadata\MetadataInterface | |
$routeFactory | Sylius\Bundle\ResourceBundle\Routing\RouteFactoryInterface | |
$routeCollection | ||
$showRoute | Symfony\Component\Routing\Route | |
$indexRoute | Symfony\Component\Routing\Route | |
$createRoute | Symfony\Component\Routing\Route | |
$updateRoute | Symfony\Component\Routing\Route | |
$deleteRoute | Symfony\Component\Routing\Route |
public it_generates_routing_with_custom_variables ( Sylius\Component\Resource\Metadata\RegistryInterface $resourceRegistry, Sylius\Component\Resource\Metadata\MetadataInterface $metadata, Sylius\Bundle\ResourceBundle\Routing\RouteFactoryInterface $routeFactory, |
||
$resourceRegistry | Sylius\Component\Resource\Metadata\RegistryInterface | |
$metadata | Sylius\Component\Resource\Metadata\MetadataInterface | |
$routeFactory | Sylius\Bundle\ResourceBundle\Routing\RouteFactoryInterface | |
$routeCollection | ||
$showRoute | Symfony\Component\Routing\Route | |
$indexRoute | Symfony\Component\Routing\Route | |
$createRoute | Symfony\Component\Routing\Route | |
$updateRoute | Symfony\Component\Routing\Route | |
$deleteRoute | Symfony\Component\Routing\Route |
public it_generates_urlized_paths_for_resources_with_multiple_words_in_name ( Sylius\Component\Resource\Metadata\RegistryInterface $resourceRegistry, Sylius\Component\Resource\Metadata\MetadataInterface $metadata, Sylius\Bundle\ResourceBundle\Routing\RouteFactoryInterface $routeFactory, |
||
$resourceRegistry | Sylius\Component\Resource\Metadata\RegistryInterface | |
$metadata | Sylius\Component\Resource\Metadata\MetadataInterface | |
$routeFactory | Sylius\Bundle\ResourceBundle\Routing\RouteFactoryInterface | |
$routeCollection | ||
$showRoute | Symfony\Component\Routing\Route | |
$indexRoute | Symfony\Component\Routing\Route | |
$createRoute | Symfony\Component\Routing\Route | |
$updateRoute | Symfony\Component\Routing\Route | |
$deleteRoute | Symfony\Component\Routing\Route |
public it_includes_only_specific_routes_if_configured ( Sylius\Component\Resource\Metadata\RegistryInterface $resourceRegistry, Sylius\Component\Resource\Metadata\MetadataInterface $metadata, Sylius\Bundle\ResourceBundle\Routing\RouteFactoryInterface $routeFactory, |
||
$resourceRegistry | Sylius\Component\Resource\Metadata\RegistryInterface | |
$metadata | Sylius\Component\Resource\Metadata\MetadataInterface | |
$routeFactory | Sylius\Bundle\ResourceBundle\Routing\RouteFactoryInterface | |
$routeCollection | ||
$indexRoute | Symfony\Component\Routing\Route | |
$createRoute | Symfony\Component\Routing\Route |
public it_throws_an_exception_if_invalid_resource_configured ( Sylius\Component\Resource\Metadata\RegistryInterface $resourceRegistry ) | ||
$resourceRegistry | Sylius\Component\Resource\Metadata\RegistryInterface |
public let ( Sylius\Component\Resource\Metadata\RegistryInterface $resourceRegistry, Sylius\Bundle\ResourceBundle\Routing\RouteFactoryInterface $routeFactory ) | ||
$resourceRegistry | Sylius\Component\Resource\Metadata\RegistryInterface | |
$routeFactory | Sylius\Bundle\ResourceBundle\Routing\RouteFactoryInterface |