diff --git a/src/Routing.php b/src/Routing.php index ac759d0..cd76d4f 100644 --- a/src/Routing.php +++ b/src/Routing.php @@ -80,17 +80,11 @@ class Routing { $container, $route, $annotation ) : ResponseInterface { - $class = $annotation->class; + $class = $annotation->class; $method = $annotation->classMethod; # $container->set($class, autowire($class)->method($method, $request)); - if ( null !== ( $languageAnnotation = $this->language->verify($class) ) ) { - if ( $languageAnnotation->key ) { - # TODO !!! $language - } - } - $object = $container->get($class); # Checking if user needs to be logged