1 | <?php |
||
5 | trait StrategyAwareTrait |
||
6 | { |
||
7 | /** |
||
8 | * @var \League\Route\Strategy\StrategyInterface |
||
9 | */ |
||
10 | protected $strategy; |
||
11 | |||
12 | /** |
||
13 | * Set the strategy. |
||
14 | * |
||
15 | * @param \League\Route\Strategy\StrategyInterface $strategy |
||
16 | * |
||
17 | * @return $this |
||
18 | */ |
||
19 | public function setStrategy(StrategyInterface $strategy) |
||
25 | |||
26 | /** |
||
27 | * Gets the strategy. |
||
28 | * |
||
29 | * @return \League\Route\Strategy\StrategyInterface |
||
30 | */ |
||
31 | public function getStrategy() |
||
35 | } |
||
36 |