Currently i can call
$this->get('servicename')
in a controller and the IDE knows the class that is returned from the container. If i call
$this->get(Service::NAME)
instead, with NAME beeing a const-string in the class, the type-completion fails. Would be nice if it wont ^^
Currently i can call
in a controller and the IDE knows the class that is returned from the container. If i call
instead, with NAME beeing a const-string in the class, the type-completion fails. Would be nice if it wont ^^