From 27d0d9b5da416ba798ae17303499e9d31bf18536 Mon Sep 17 00:00:00 2001 From: Julian Kleinhans Date: Tue, 13 Dec 2016 15:58:24 +0100 Subject: [PATCH] #45 Add getStages method to Pipeline --- src/StackFormation/Helper/Pipeline.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/StackFormation/Helper/Pipeline.php b/src/StackFormation/Helper/Pipeline.php index 9bd1176..71ea6d8 100644 --- a/src/StackFormation/Helper/Pipeline.php +++ b/src/StackFormation/Helper/Pipeline.php @@ -24,6 +24,14 @@ public function addStage(callable $stage) return $this; } + /** + * @return \callable[] + */ + public function getStages() + { + return $this->stages; + } + /** * Process the payload. *