프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$cleanFolder | array | ||
$ignoreFolder | array | ||
$output | string | ||
$path | string |
메소드 | 설명 | |
---|---|---|
__construct ( Symfony\Component\Console\Output\OutputInterface $output = null ) | Constructor. | |
update ( $file ) | Runs Pagekit self update. |
메소드 | 설명 | |
---|---|---|
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 | ||
리턴 | array |
protected isWritable ( $fileList, $path ) : boolean | array | ||
$fileList | ||
$path | ||
리턴 | boolean | array |
protected setUpdateMode ( $active ) | ||
$active |