File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
src/DependencyInjection/Compiler Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change 1111
1212namespace Symfony \Cmf \Bundle \RoutingBundle \DependencyInjection \Compiler ;
1313
14- use Symfony \Bundle \FrameworkBundle \Templating \EngineInterface ;
1514use Symfony \Cmf \Bundle \RoutingBundle \Validator \Constraints \RouteDefaultsTemplatingValidator ;
1615use Symfony \Component \DependencyInjection \Compiler \CompilerPassInterface ;
1716use Symfony \Component \DependencyInjection \ContainerBuilder ;
@@ -29,7 +28,7 @@ class TemplatingValidatorPass implements CompilerPassInterface
2928 */
3029 public function process (ContainerBuilder $ container )
3130 {
32- if (interface_exists (EngineInterface::class ) && $ container ->has ('templating ' )) {
31+ if (interface_exists (' Symfony\Bundle\FrameworkBundle\Templating\ EngineInterface' ) && $ container ->has ('templating ' )) {
3332 $ templatingDefinition = $ container ->findDefinition ('templating ' );
3433 $ validatorDefinition = $ container ->getDefinition ('cmf_routing.validator.route_defaults ' );
3534 $ validatorDefinition ->setClass (RouteDefaultsTemplatingValidator::class);
You can’t perform that action at this time.
0 commit comments