version 1.0.1 of process pipeline component for php released
I happy to announce the release of 1.0.1 of bazzlines process pipeline component for php. Important changes are:
- removed dependecy to apigen
- add "StopExecutionException"
I happy to announce the release of 1.0.1 of bazzlines process pipeline component for php. Important changes are:
I happy to announce the release of 1.0.0 of bazzlines process pipeline component for php.
This component will easy up the creation of process pipe.
Indeed, it is a pseudo pipeline (process collection or process batch) since the php process is single threaded so far.
Special thanks to Ralf Westphal and especially for his book the architects napkin.
use Net\Bazzline\Component\ProcessPipe\ExecutableException;
use Net\Bazzline\Component\ProcessPipe\InvalidArgumentException;
use Net\Bazzline\Component\ProcessPipe\Pipe;
try {
$pipe = new Pipe();
$pipe->pipe(
new ProcessOne(),
new ProcessTwo()
);
$output = $pipe->execute($input);
} catch (ExecutableException) {
//handle process exception
} catch (InvalidArgumentException) {
//handle pipe exception
}
mkdir -p vendor/net_bazzline/php_component_process_pipe
cd vendor/net_bazzline/php_component_process_pipe
git clone https://github.com/bazzline/php_component_process_pipe
composer require net_bazzline/php_component_process_pipe:dev-master