Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commit3e56f4a

Browse files
committed
Fixed wrong used class
1 parent30c327a commit3e56f4a

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)

[8]ページ先頭

©2009-2025 Movatter.jp