1 | <?php |
||
9 | final class MatchScoreTargetSorter implements TargetSorter |
||
10 | { |
||
11 | /** @var TargetRepositoryInterface */ |
||
12 | private $targetRepository; |
||
13 | |||
14 | /** |
||
15 | * MatchScoreTargetSorter constructor. |
||
16 | * |
||
17 | * @param TargetRepositoryInterface $targetRepository |
||
18 | */ |
||
19 | 5 | public function __construct(TargetRepositoryInterface $targetRepository) |
|
23 | |||
24 | /** {@inheritdoc} */ |
||
25 | 5 | public function getMatchingTarget(DestinationInterface $destination) |
|
43 | } |
||
44 |