Copied!
Abstract
Constants
public Symfony\Component\Process\Pipes\PipesInterface ::CHUNK_SIZE = 16384
Properties
public $pipes
Methods
public __construct ( $input )
 
public abstract Symfony\Component\Process\Pipes\PipesInterface :: areOpen () : bool
 

Returns if the current state has open file handles or pipes.

public close ()
 

{@inheritdoc}

public abstract Symfony\Component\Process\Pipes\PipesInterface :: getDescriptors () : array
 

Returns an array of descriptors for the use of proc_open.

public abstract Symfony\Component\Process\Pipes\PipesInterface :: getFiles () : array
 

Returns an array of filenames indexed by their related stream in case these pipes use temporary files.

  • return string []
public handleError ( $type , $msg )
 
  • internal
public abstract Symfony\Component\Process\Pipes\PipesInterface :: haveReadSupport () : bool
 

Returns if pipes are able to read output.

public abstract Symfony\Component\Process\Pipes\PipesInterface :: readAndWrite ( bool $blocking , bool $close = false ) : array
 

Reads data in file handles and pipes.

  • return string [] An array of read data indexed by their fd
Methods
protected hasSystemCallBeenInterrupted () : bool
 

Returns true if a system call has been interrupted.

protected unblock ()
 

Unblocks streams.

protected write () : array
 

Writes input to stdin.

  • throws InvalidArgumentException When an input iterator yields a non supported value
Properties
private $blocked
private $input
private $inputBuffer
private $lastError
© 2020 Bruce Wells
Search Namespaces \ Classes
Configuration Numbers (0-9.) only