| 1 | <?php | ||
| 9 | final class DestinationMatcher implements DestinationMatcherInterface | ||
| 10 | { | ||
| 11 | /** @var PageRepositoryInterface */ | ||
| 12 | private $pageRepository; | ||
| 13 | /** @var TargetSorter */ | ||
| 14 | private $sorter; | ||
| 15 | |||
| 16 | /** | ||
| 17 | * DestinationMatcher constructor. | ||
| 18 | * | ||
| 19 | * @param TargetSorter $sorter | ||
| 20 | * @param PageRepositoryInterface $pageRepository | ||
| 21 | */ | ||
| 22 | 10 | public function __construct(TargetSorter $sorter, PageRepositoryInterface $pageRepository) | |
| 27 | |||
| 28 |     /** {@inheritdoc} */ | ||
| 29 | 9 | public function match(DestinationInterface $destination) | |
| 39 | } | ||
| 40 |