DI\Definition\ObjectDefinition::updateCache PHP Method

updateCache() private method

private updateCache ( )
    private function updateCache()
    {
        $className = $this->getClassName();
        $this->classExists = class_exists($className) || interface_exists($className);
        if (!$this->classExists) {
            $this->isInstantiable = false;
            return;
        }
        $class = new ReflectionClass($className);
        $this->isInstantiable = $class->isInstantiable();
    }