1: <?php
2:
3: namespace PHPixie\ORM\Plans\Plan;
4:
5: class Steps extends \PHPixie\ORM\Plans\Plan
6: {
7: protected $steps = array();
8:
9: public function add($step)
10: {
11: $this->steps[] = $step;
12: }
13:
14: public function appendPlan($plan)
15: {
16: $this->steps = array_merge($this->steps, $plan->steps());
17: }
18:
19: public function steps()
20: {
21: return $this->steps;
22: }
23:
24: }
25: