Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit dd088d0

Browse filesBrowse 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
Copy full SHA for dd088d0

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed

‎cookbook/routing/custom_route_loader.rst

Copy file name to clipboardExpand all lines: cookbook/routing/custom_route_loader.rst
+2-2Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.