Свойство | Тип | Описание | |
---|---|---|---|
$appDir | string | null | ||
$cacheDir | string | null | ||
$cacheState | array | Cached metadata for transformation state for the concrete file | |
$fileMode | integer | File mode | |
$kernel | |||
$newCacheState | array | New metadata items, that was not present in $cacheState | |
$options | array |
Метод | Описание | |
---|---|---|
__construct ( |
||
__destruct ( ) | Automatic destructor saves all new changes into the cache | |
flushCacheState ( ) | Flushes the cache state into the file | |
getCacheDir ( ) : null | string | Returns current cache directory for aspects, can be bull | |
getCachePathForResource ( string $resource ) : boolean | string | ||
queryCacheState ( string | null $resource = null ) : array | null | Tries to return an information for queried resource | |
setCacheDir ( string $cacheDir ) | Configures a new cache directory for aspects | |
setCacheState ( string $resource, array $metadata ) | Put a record about some resource in the cache |
public __construct ( |
||
$kernel |
public __destruct ( ) |
public getCacheDir ( ) : null | string | ||
Результат | null | string |
public setCacheDir ( string $cacheDir ) | ||
$cacheDir | string | New cache directory |
public setCacheState ( string $resource, array $metadata ) | ||
$resource | string | Name of the file |
$metadata | array | Miscellaneous information about resource |
protected array $cacheState | ||
Результат | array |
protected array $newCacheState | ||
Результат | array |