Property | Type | Description | |
---|---|---|---|
$actions | Pimpl\Pimple | ||
$appPath | string | ||
$boltVersion | string | ||
$cache | |||
$filesystem | Symfony\Component\Filesystem\Filesystem | ||
$rootPath | string | ||
$viewPath | string |
Method | Description | |
---|---|---|
__construct ( string $appPath, string $viewPath, |
Constructor. | |
checkVersion ( ) | Check Bolt's version against a cached key. If there is a change we flush the cache data and if required synchronise asset directories. | |
hasVersionChange ( ) : boolean | Has a Bolt version change been detected. | |
syncView ( ) : array | null | Perform a synchronisation of files in specific app/view/ subdirectories. |
Method | Description | |
---|---|---|
checkCacheVersion ( ) : boolean | Check if the cache version matches Bolt's current version | |
syncViewDirectory ( string $dir ) | Synchronise the files in an app/view/ subdirectory. | |
updateAutoloader ( ) | Update the extension autoloader. | |
updateCacheVersion ( ) | Write our version string out to given cache directory |
Method | Description | |
---|---|---|
getVersionFileName ( ) |
protected checkCacheVersion ( ) : boolean | ||
return | boolean | TRUE - versions match FALSE - versions don't match |
public checkVersion ( ) |
public hasVersionChange ( ) : boolean | ||
return | boolean |
protected syncViewDirectory ( string $dir ) | ||
$dir | string |
protected updateCacheVersion ( ) |
protected Filesystem,Symfony\Component\Filesystem $filesystem | ||
return | Symfony\Component\Filesystem\Filesystem |