Property | Type | Description | |
---|---|---|---|
$cleanFolder | array | ||
$ignoreFolder | array | ||
$output | string | ||
$path | string |
Method | Description | |
---|---|---|
__construct ( Symfony\Component\Console\Output\OutputInterface $output = null ) | Constructor. | |
update ( $file ) | Runs Pagekit self update. |
Method | Description | |
---|---|---|
cleanup ( $fileList, $path ) : array | Scans directory for old files. | |
doCleanup ( $fileList, $dir, $path ) : array | ||
extract ( $file, $fileList, $path ) | Extracts an archive. | |
getFileList ( $file ) : array | Generates file list for given archive. | |
isWritable ( $fileList, $path ) : boolean | array | Checks if directory is writable. | |
setUpdateMode ( $active ) | Toggles update mode without booting Pagekit application. |
public __construct ( Symfony\Component\Console\Output\OutputInterface $output = null ) | ||
$output | Symfony\Component\Console\Output\OutputInterface |
protected extract ( $file, $fileList, $path ) | ||
$file | ||
$fileList | ||
$path |
protected getFileList ( $file ) : array | ||
$file | ||
return | array |
protected isWritable ( $fileList, $path ) : boolean | array | ||
$fileList | ||
$path | ||
return | boolean | array |
protected setUpdateMode ( $active ) | ||
$active |