src/ObjectManager.php
private function getReflection(string $className) : \ReflectionClass
    {
        if (empty($this->reflectionContainer[$className])) {
            $this->reflectionContainer[$className] = new \ReflectionClass($className);
        }

        return $this->reflectionContainer[$className];
    }
private function getReflection(string $className) : \ReflectionClass
    {
        if (empty($this->reflectionContainer[$className])) {
            $this->reflectionContainer[$className] = new \ReflectionClass($className);
        }

        return $this->reflectionContainer[$className];
    }
private function getReflection ( string $ className ) : \ ReflectionClass { if ( empty ( $ this -> reflectionContainer [ $ className ] ) ) { $ this -> reflectionContainer [ $ className ] = new \ ReflectionClass ( $ className ) ; } return $ this -> reflectionContainer [ $ className ] ; }
Retrieve reflection.

@param string $className

@return \ReflectionClass
Retrieve reflection .