protected function loadOrReflectClassIfNecessary($className)
    {
        if (!isset($this->classReflectionData[$className]) || is_array($this->classReflectionData[$className])) {
            return;
        }

        if ($this->loadFromClassSchemaRuntimeCache === true) {
            $this->classReflectionData[$className] = $this->reflectionDataRuntimeCache->get($this->produceCacheIdentifierFromClassName($className));

            return;
        }

        $this->reflectClass($className);
    }
protected function loadOrReflectClassIfNecessary($className)
    {
        if (!isset($this->classReflectionData[$className]) || is_array($this->classReflectionData[$className])) {
            return;
        }

        if ($this->loadFromClassSchemaRuntimeCache === true) {
            $this->classReflectionData[$className] = $this->reflectionDataRuntimeCache->get($this->produceCacheIdentifierFromClassName($className));

            return;
        }

        $this->reflectClass($className);
    }
protected function loadOrReflectClassIfNecessary ( $ className ) { if ( ! isset ( $ this -> classReflectionData [ $ className ] ) || is_array ( $ this -> classReflectionData [ $ className ] ) ) { return ; } if ( $ this -> loadFromClassSchemaRuntimeCache === true ) { $ this -> classReflectionData [ $ className ] = $ this -> reflectionDataRuntimeCache -> get ( $ this -> produceCacheIdentifierFromClassName ( $ className ) ) ; return ; } $ this -> reflectClass ( $ className ) ; }
Loads reflection data from the cache or reflects the class if needed.

If the class is completely unknown, this method won't try to load or reflect
it. If it is known and reflection data has been loaded already, it won't be
loaded again.

In Production context, with frozen caches, this method will load reflection
data for the specified class from the runtime cache.

@param string $className Name of the class to load data for
@return void
Loads reflection data from the cache or reflects the class if needed .