Go\Core\CachedAspectLoader::loadFromCache PHP 메소드

loadFromCache() 보호된 메소드

Loads pointcuts and advisors from the file
protected loadFromCache ( string $fileName ) : array | Go\Aop\Pointcut[] | Go\Aop\Advisor[]
$fileName string Name of the file with cache
리턴 array | Go\Aop\Pointcut[] | Go\Aop\Advisor[]
    protected function loadFromCache($fileName)
    {
        $content = file_get_contents($fileName);
        $loadedItems = unserialize($content);
        return $loadedItems;
    }