PHP 클래스 Kedrigern\phpIO\Files

파일 보기 프로젝트 열기: kedrigern/phpio

보호된 프로퍼티들

프로퍼티 타입 설명
$dir string
$files array
$filter string
$originDir string

공개 메소드들

메소드 설명
call ( callable $function, null | callable $post = null, null | array &$log = null ) : Files
delete ( ) Delete files
dir ( string $path ) : Files
getDir ( ) : string
getFiles ( ) : array
getFilter ( ) : string
move ( string $path, boolean $create = false ) : Files Move files to the $path
writeable ( ) : Files Is files writeable? If not exception is throw.

메소드 상세

call() 공개 메소드

public call ( callable $function, null | callable $post = null, null | array &$log = null ) : Files
$function callable apply to the files
$post null | callable function called after process all files
$log null | array array of callback results (event post callback)
리턴 Files $this

delete() 공개 메소드

Delete files
public delete ( )

dir() 공개 메소드

public dir ( string $path ) : Files
$path string
리턴 Files $this

getDir() 공개 메소드

public getDir ( ) : string
리턴 string

getFiles() 공개 메소드

public getFiles ( ) : array
리턴 array

getFilter() 공개 메소드

public getFilter ( ) : string
리턴 string

move() 공개 메소드

Move files to the $path
public move ( string $path, boolean $create = false ) : Files
$path string
$create boolean
리턴 Files $this

writeable() 공개 메소드

Is files writeable? If not exception is throw.
public writeable ( ) : Files
리턴 Files $this

프로퍼티 상세

$dir 보호되어 있는 프로퍼티

protected string $dir
리턴 string

$files 보호되어 있는 프로퍼티

protected array $files
리턴 array

$filter 보호되어 있는 프로퍼티

protected string $filter
리턴 string

$originDir 보호되어 있는 프로퍼티

protected string $originDir
리턴 string