AppserverIo\Appserver\DependencyInjectionContainer\Provider::setReflectionClass PHP Method

setReflectionClass() public method

Adds the passe reflection class instance to the DI provider.
public setReflectionClass ( AppserverIo\Lang\Reflection\ClassInterface $reflectionClass ) : void
$reflectionClass AppserverIo\Lang\Reflection\ClassInterface The reflection class instance to add
return void
    public function setReflectionClass(ClassInterface $reflectionClass)
    {
        $this->reflectionClasses[$reflectionClass->getName()] = $reflectionClass;
    }