| 1 | <?php |
||
| 10 | class LabelEventRelationTypeResolver implements LabelEventRelationTypeResolverInterface |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @var LabelEventIsOfEventType |
||
| 14 | */ |
||
| 15 | private $eventTypeSpecification; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @var LabelEventIsOfPlaceType |
||
| 19 | */ |
||
| 20 | private $placeTypeSpecification; |
||
| 21 | |||
| 22 | public function __construct() |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @param AbstractLabelEvent $labelEvent |
||
| 30 | * @return RelationType |
||
| 31 | * @throws \InvalidArgumentException |
||
| 32 | */ |
||
| 33 | public function getRelationType($labelEvent) |
||
| 46 | |||
| 47 | /** |
||
| 48 | * @param AbstractLabelEvent $labelEvent |
||
| 49 | * @return string |
||
| 50 | */ |
||
| 51 | private function createIllegalArgumentMessage(AbstractLabelEvent $labelEvent) |
||
| 55 | } |
||
| 56 |