class Illuminate / Process / Pipe
You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.

Pipe

Properties

protected

$factory Factory

The process factory instance.

Default: null
protected

$callback callable

The callback that resolves the pending processes.

Default: null
protected

$pendingProcesses array

The array of pending processes.

Default: []

Methods

public

__construct ( Factory $factory , callable $callback ) : void

Create a new series of piped processes.

Parameters

public

as ( string $key ) : PendingProcess

Add a process to the pipe with a key.

Parameters

  • $key string
public

run ( callable $output ) : ProcessResult

Runs the processes in the pipe.

Parameters

  • $output callable|null
public

__call ( $method , $parameters ) : PendingProcess

Dynamically proxy methods calls to a new pending process.

Parameters

  • $method string
  • $parameters array