Skip to content

Commit

Permalink
introducing PipeChainAwareInterface
Browse files Browse the repository at this point in the history
  • Loading branch information
nhlm committed Mar 14, 2017
1 parent 7369ac6 commit 3728fea
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions src/PipeChainAwareInterface.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?php
/**
* This file is part of the PIPECHAIN Project.
*
* (c)2017 Matthias Kaschubowski
*
* This code is licensed under the MIT license,
* a copy of the license is stored at the project root.
*/

namespace PipeChain;


interface PipeChainAwareInterface
{
/**
* appends the provided pipe to the end of the chain of the used pipeline.
*
* @param PipeChainInterface $pipeline
* @return PipeChainInterface
*/
public function chain(PipeChainInterface $pipeline): PipeChainInterface;
}

0 comments on commit 3728fea

Please sign in to comment.