PHP Class Phulp\Phulp

Afficher le fichier Open project: reisraff/phulp

Méthodes publiques

Méthode Description
clean ( ) : phulp\PipeInterface
dest ( string $path ) : phulp\PipeInterface
getLoop ( ) : React\EventLoop\LoopInterface Gets the value of loop.
iterate ( callable $callback ) : phulp\PipeInterface
run ( string $task = null )
setLoop ( React\EventLoop\LoopInterface $loop ) Sets the value of loop.
src ( array $dirs, string $pattern = null, boolean $recursive = true ) : Source
start ( array $tasks )
task ( string $name, callable $callback )
watch ( Source $src, mixed $tasks ) : Watch

Method Details

clean() public méthode

public clean ( ) : phulp\PipeInterface
Résultat phulp\PipeInterface

dest() public méthode

public dest ( string $path ) : phulp\PipeInterface
$path string
Résultat phulp\PipeInterface

getLoop() public méthode

Gets the value of loop.
public getLoop ( ) : React\EventLoop\LoopInterface
Résultat React\EventLoop\LoopInterface

iterate() public méthode

public iterate ( callable $callback ) : phulp\PipeInterface
$callback callable
Résultat phulp\PipeInterface

run() public méthode

public run ( string $task = null )
$task string

setLoop() public méthode

Sets the value of loop.
public setLoop ( React\EventLoop\LoopInterface $loop )
$loop React\EventLoop\LoopInterface the loop

src() public méthode

public src ( array $dirs, string $pattern = null, boolean $recursive = true ) : Source
$dirs array
$pattern string
$recursive boolean
Résultat Source

start() public méthode

public start ( array $tasks )
$tasks array

task() public méthode

public task ( string $name, callable $callback )
$name string
$callback callable

watch() public méthode

public watch ( Source $src, mixed $tasks ) : Watch
$src Source
$tasks mixed
Résultat Watch