src/Repositories/YamlPipelineRepository.php
public function update($pipeline, array $attachments, array $detachments)
	{
		$this->detach($this->pipelines[$pipeline], $detachments);

		$this->attach($this->pipelines[$pipeline], $attachments);

		$this->refreshPipelines();
	}
public function update($pipeline, array $attachments, array $detachments)
	{
		$this->detach($this->pipelines[$pipeline], $detachments);

		$this->attach($this->pipelines[$pipeline], $attachments);

		$this->refreshPipelines();
	}
public function update ( $ pipeline , array $ attachments , array $ detachments ) { $ this -> detach ( $ this -> pipelines [ $ pipeline ] , $ detachments ) ; $ this -> attach ( $ this -> pipelines [ $ pipeline ] , $ attachments ) ; $ this -> refreshPipelines ( ) ; }
Update the given pipeline and its pipes.

@author	Andrea Marco Sartori
@param	string	$pipeline
@param	array	$attachments
@param	array	$detachments
@return	void
Update the given pipeline and its pipes .