- Removed LanguageAnnotation for now .. might be added later, let's wait for a real use-case...
This commit is contained in:
parent
93ec2a7e76
commit
3101573603
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue