platform/api/symfony/Bundle/FrameworkBundle/Routing/Router.yaml
2024-09-02 10:44:11 -07:00

135 lines
4 KiB
YAML

name: Router
class_comment: '# * This Router creates the Loader only when the cache is empty.
# *
# * @author Fabien Potencier <fabien@symfony.com>
# *
# * @final since Symfony 7.1'
dependencies:
- name: ContainerInterface
type: class
source: Psr\Container\ContainerInterface
- name: LoggerInterface
type: class
source: Psr\Log\LoggerInterface
- name: LoaderInterface
type: class
source: Symfony\Component\Config\Loader\LoaderInterface
- name: FileExistenceResource
type: class
source: Symfony\Component\Config\Resource\FileExistenceResource
- name: FileResource
type: class
source: Symfony\Component\Config\Resource\FileResource
- name: ContainerParametersResource
type: class
source: Symfony\Component\DependencyInjection\Config\ContainerParametersResource
- name: SymfonyContainerInterface
type: class
source: Symfony\Component\DependencyInjection\ContainerInterface
- name: ParameterNotFoundException
type: class
source: Symfony\Component\DependencyInjection\Exception\ParameterNotFoundException
- name: RuntimeException
type: class
source: Symfony\Component\DependencyInjection\Exception\RuntimeException
- name: WarmableInterface
type: class
source: Symfony\Component\HttpKernel\CacheWarmer\WarmableInterface
- name: RequestContext
type: class
source: Symfony\Component\Routing\RequestContext
- name: RouteCollection
type: class
source: Symfony\Component\Routing\RouteCollection
- name: BaseRouter
type: class
source: Symfony\Component\Routing\Router
- name: ServiceSubscriberInterface
type: class
source: Symfony\Contracts\Service\ServiceSubscriberInterface
properties: []
methods:
- name: __construct
visibility: public
parameters:
- name: container
- name: resource
- name: options
default: '[]'
- name: context
default: 'null'
- name: parameters
default: 'null'
- name: logger
default: 'null'
- name: defaultLocale
default: 'null'
comment: "# * This Router creates the Loader only when the cache is empty.\n# *\n\
# * @author Fabien Potencier <fabien@symfony.com>\n# *\n# * @final since Symfony\
\ 7.1\n# */\n# class Router extends BaseRouter implements WarmableInterface, ServiceSubscriberInterface\n\
# {\n# private array $collectedParameters = [];\n# private \\Closure $paramFetcher;\n\
# \n# /**\n# * @param mixed $resource The main resource to load"
- name: getRouteCollection
visibility: public
parameters: []
comment: null
- name: warmUp
visibility: public
parameters:
- name: cacheDir
- name: buildDir
default: 'null'
comment: null
- name: resolveParameters
visibility: private
parameters:
- name: collection
comment: '# * Replaces placeholders with service container parameter values in:
# * - the route defaults,
# * - the route requirements,
# * - the route path,
# * - the route host,
# * - the route schemes,
# * - the route methods.'
- name: resolve
visibility: private
parameters:
- name: value
comment: '# * Recursively replaces %placeholders% with the service container parameters.
# *
# * @throws ParameterNotFoundException When a placeholder does not exist as a
container parameter
# * @throws RuntimeException When a container value is not a string
or a numeric value'
- name: getSubscribedServices
visibility: public
parameters: []
comment: null
traits:
- Psr\Container\ContainerInterface
- Psr\Log\LoggerInterface
- Symfony\Component\Config\Loader\LoaderInterface
- Symfony\Component\Config\Resource\FileExistenceResource
- Symfony\Component\Config\Resource\FileResource
- Symfony\Component\DependencyInjection\Config\ContainerParametersResource
- Symfony\Component\DependencyInjection\Exception\ParameterNotFoundException
- Symfony\Component\DependencyInjection\Exception\RuntimeException
- Symfony\Component\HttpKernel\CacheWarmer\WarmableInterface
- Symfony\Component\Routing\RequestContext
- Symfony\Component\Routing\RouteCollection
- Symfony\Contracts\Service\ServiceSubscriberInterface
interfaces:
- WarmableInterface