Skip to content

Commit dd088d0

Browse files
committed
Merge pull request symfony#2744 from iamdto/fix-custom_route_loader
[Cookbook][Routing] Fixed wrong method definition
2 parents 64b5f34 + 3e56f4a commit dd088d0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cookbook/routing/custom_route_loader.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ type you want. The resource name itself is not actually used in the example::
6666
namespace Acme\DemoBundle\Routing;
6767

6868
use Symfony\Component\Config\Loader\LoaderInterface;
69-
use Symfony\Component\Config\Loader\LoaderResolver;
69+
use Symfony\Component\Config\Loader\LoaderResolverInterface;
7070
use Symfony\Component\Routing\Route;
7171
use Symfony\Component\Routing\RouteCollection;
7272

@@ -110,7 +110,7 @@ type you want. The resource name itself is not actually used in the example::
110110
// and if you do, using the Loader base class is easier (see below)
111111
}
112112

113-
public function setResolver(LoaderResolver $resolver)
113+
public function setResolver(LoaderResolverInterface $resolver)
114114
{
115115
// same as above
116116
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy