Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
37 | public function __construct($payload, bool $isAReturningVal, bool $isATraversable = false) |
||
38 | { |
||
39 | $this->payload = $payload; |
||
40 | $this->isAFlow = (bool) ($payload instanceof FlowInterface); |
||
41 | $this->isAReturningVal = (bool) $isAReturningVal; |
||
42 | // let wrong traversability be enforced by parent |
||
43 | $this->isATraversable = (bool) $isATraversable; |
||
44 | |||
45 | parent::__construct(); |
||
46 | } |
||
58 |