We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parent30c327a commit3e56f4aCopy full SHA for 3e56f4a
cookbook/routing/custom_route_loader.rst
@@ -66,7 +66,7 @@ type you want. The resource name itself is not actually used in the example::
66
namespace Acme\DemoBundle\Routing;
67
68
use Symfony\Component\Config\Loader\LoaderInterface;
69
- use Symfony\Component\Config\Loader\LoaderResolver;
+ use Symfony\Component\Config\Loader\LoaderResolverInterface;
70
use Symfony\Component\Routing\Route;
71
use Symfony\Component\Routing\RouteCollection;
72
@@ -110,7 +110,7 @@ type you want. The resource name itself is not actually used in the example::
110
// and if you do, using the Loader base class is easier (see below)
111
}
112
113
- public function setResolver(LoaderResolver $resolver)
+ public function setResolver(LoaderResolverInterface $resolver)
114
{
115
// same as above
116