| Total Complexity | 2 |
| Total Lines | 27 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 17 | trait HasConditionTrait { |
||
| 18 | /** |
||
| 19 | * Route condition. |
||
| 20 | * |
||
| 21 | * @var ConditionInterface |
||
| 22 | */ |
||
| 23 | protected $condition = null; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * Get condition. |
||
| 27 | * |
||
| 28 | * @codeCoverageIgnore |
||
| 29 | * @return ConditionInterface |
||
| 30 | */ |
||
| 31 | public function getCondition() { |
||
| 33 | } |
||
| 34 | |||
| 35 | /** |
||
| 36 | * Set condition. |
||
| 37 | * |
||
| 38 | * @codeCoverageIgnore |
||
| 39 | * @param ConditionInterface $condition |
||
| 40 | * @return void |
||
| 41 | */ |
||
| 42 | public function setCondition( ConditionInterface $condition ) { |
||
| 46 |