PHP 클래스 Phulp\Source

파일 보기 프로젝트 열기: reisraff/phulp 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( array $dirs, string $pattern = '', boolean $recursive = false )
addDistFile ( DistFile $distFile )
getDistFiles ( ) : Collection | DistFile[] Gets the value of distFiles.
pipe ( phulp\PipeInterface $pipe ) : self
removeDistFile ( integer $key )
setDistFiles ( Collection $distFiles ) Gets the value of distFiles.

메소드 상세

__construct() 공개 메소드

public __construct ( array $dirs, string $pattern = '', boolean $recursive = false )
$dirs array
$pattern string
$recursive boolean

addDistFile() 공개 메소드

public addDistFile ( DistFile $distFile )
$distFile DistFile

getDistFiles() 공개 메소드

Gets the value of distFiles.
public getDistFiles ( ) : Collection | DistFile[]
리턴 Collection | DistFile[] $distFiles

pipe() 공개 메소드

public pipe ( phulp\PipeInterface $pipe ) : self
$pipe phulp\PipeInterface
리턴 self

removeDistFile() 공개 메소드

public removeDistFile ( integer $key )
$key integer

setDistFiles() 공개 메소드

Gets the value of distFiles.
public setDistFiles ( Collection $distFiles )
$distFiles Collection