Doctrine\Common\Cache\PhpFileCache::includeFileForId PHP Method

includeFileForId() private method

private includeFileForId ( string $id ) : array | false
$id string
return array | false
    private function includeFileForId($id)
    {
        $fileName = $this->getFilename($id);
        // note: error suppression is still faster than `file_exists`, `is_file` and `is_readable`
        set_error_handler(self::$emptyErrorHandler);
        $value = (include $fileName);
        restore_error_handler();
        if (!isset($value['lifetime'])) {
            return false;
        }
        return $value;
    }