StrategyAwareInterface::setStrategy()
last analyzed

Size

Total Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 1
c 0
b 0
f 0
1
<?php declare(strict_types=1);
2
3
namespace League\Route\Strategy;
4
5
interface StrategyAwareInterface
6
{
7
    /**
8
     * Get the current strategy
9
     *
10
     * @return StrategyInterface
11
     */
12
    public function getStrategy(): ?StrategyInterface;
13
14
    /**
15
     * Set the strategy implementation
16
     *
17
     * @param StrategyInterface $strategy
18
     *
19
     * @return static
20
     */
21
    public function setStrategy(StrategyInterface $strategy): StrategyAwareInterface;
22
}
23