Provides a way to continuously write to the input of a Process until the InputStream is closed.

CloneableInstantiableIterable
ImplementsIteratorAggregate
Traversable
Methods
public close()
 

Closes the write buffer.

public getIterator()
 
  • return Traversable
public isClosed()
 

Tells whether the write buffer is closed or not.

public onEmpty(?callable $onEmpty = NULL)
 

Sets a callback that is called when the write buffer becomes empty.

public write( $input)
 

Appends an input to the write buffer.

    Properties
    private $input
    private $onEmpty
     
    • var callable|null
    private $open
    © 2020 Bruce Wells
    Search Namespaces \ Classes
    ConfigurationNumbers (0-9.) only