function ObjectLoader::getObject
Returns the object that the method will be called on to load routes.
For example, if your application uses a service container, the $id may be a service id.
1 call to ObjectLoader::getObject()
- ObjectLoader::load in vendor/
symfony/ routing/ Loader/ ObjectLoader.php - Calls the object method that will load the routes.
1 method overrides ObjectLoader::getObject()
- ContainerLoader::getObject in vendor/
symfony/ routing/ Loader/ ContainerLoader.php - Returns the object that the method will be called on to load routes.
File
-
vendor/
symfony/ routing/ Loader/ ObjectLoader.php, line 31
Class
- ObjectLoader
- A route loader that calls a method on an object to load the routes.
Namespace
Symfony\Component\Routing\LoaderCode
protected abstract function getObject(string $id) : object;