Example #1
0
 /**
  * @param StageInterface $stage
  * @return $this
  */
 public function pipe(StageInterface $stage)
 {
     $this->_pipe = $this->_pipe->pipe($stage);
     return $this;
 }
 /**
  * Adds a new stage to the outbound pipeline.
  *
  * @param   \League\Pipeline\StageInterface  $stage
  */
 public function addOutboundPipelineStage(StageInterface $stage)
 {
     $this->outboundPipeline = $this->outboundPipeline->pipe($stage);
 }