1 | <?php declare(strict_types=1); |
||
5 | trait StrategyAwareTrait |
||
6 | { |
||
7 | /** |
||
8 | * @var \League\Route\Strategy\StrategyInterface |
||
9 | */ |
||
10 | protected $strategy; |
||
11 | |||
12 | /** |
||
13 | * {@inheritdoc} |
||
14 | */ |
||
15 | 32 | public function setStrategy(StrategyInterface $strategy) : StrategyAwareInterface |
|
21 | |||
22 | /** |
||
23 | * {@inheritdoc} |
||
24 | */ |
||
25 | 34 | public function getStrategy() : ?StrategyInterface |
|
29 | } |
||
30 |