1 | <?php |
||
12 | class VehicleMutation implements MutationInterface, AliasedInterface |
||
13 | { |
||
14 | /** |
||
15 | * @var VehicleRepositoryInterface |
||
16 | */ |
||
17 | private $vehicleRepository; |
||
18 | |||
19 | /** |
||
20 | * @param VehicleRepositoryInterface $vehicleRepository |
||
21 | */ |
||
22 | public function __construct(VehicleRepositoryInterface $vehicleRepository) |
||
26 | |||
27 | /** |
||
28 | * @param string $globalId |
||
29 | * @return string |
||
30 | * @throws \Doctrine\ORM\NonUniqueResultException |
||
31 | */ |
||
32 | public function deleteVehicle(string $globalId): string |
||
44 | |||
45 | /** |
||
46 | * {@inheritdoc} |
||
47 | */ |
||
48 | public static function getAliases(): array |
||
54 | } |
||
55 |