Go\Core\CachedAspectLoader::loadFromCache PHP Method

loadFromCache() protected method

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
return array | Go\Aop\Pointcut[] | Go\Aop\Advisor[]
    protected function loadFromCache($fileName)
    {
        $content = file_get_contents($fileName);
        $loadedItems = unserialize($content);
        return $loadedItems;
    }