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