From 3e56f4aa0eb79effe78aefd43c65175714f102e0 Mon Sep 17 00:00:00 2001 From: Denis Togbe Date: Thu, 20 Jun 2013 12:40:42 +0200 Subject: [PATCH] Fixed wrong used class --- cookbook/routing/custom_route_loader.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cookbook/routing/custom_route_loader.rst b/cookbook/routing/custom_route_loader.rst index 42ab3ad17ed..14f9142bc04 100644 --- a/cookbook/routing/custom_route_loader.rst +++ b/cookbook/routing/custom_route_loader.rst @@ -66,7 +66,7 @@ type you want. The resource name itself is not actually used in the example:: namespace Acme\DemoBundle\Routing; use Symfony\Component\Config\Loader\LoaderInterface; - use Symfony\Component\Config\Loader\LoaderResolver; + use Symfony\Component\Config\Loader\LoaderResolverInterface; use Symfony\Component\Routing\Route; use Symfony\Component\Routing\RouteCollection; @@ -110,7 +110,7 @@ type you want. The resource name itself is not actually used in the example:: // and if you do, using the Loader base class is easier (see below) } - public function setResolver(LoaderResolver $resolver) + public function setResolver(LoaderResolverInterface $resolver) { // same as above }