| 1 | <?php |
||
| 9 | class Resolver |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @var Element[]|array |
||
| 13 | */ |
||
| 14 | protected $configs; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @var \Coduo\TuTu\Request\MatchingPolicy |
||
| 18 | */ |
||
| 19 | private $matchingPolicy; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @param Loader $loader |
||
| 23 | * @param MatchingPolicy $matchingPolicy |
||
| 24 | */ |
||
| 25 | public function __construct(Loader $loader, MatchingPolicy $matchingPolicy) |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @param Request $request |
||
| 37 | * @return Element|null |
||
| 38 | */ |
||
| 39 | public function resolveConfigElement(Request $request) |
||
| 49 | } |
||
| 50 |