You are here

public function GarageInterface::insertVehicle in GraphQL 8.3

Add a vehicle to your garage.

Parameters

array $vehicle: The vehicles properties.

int $lot: The parking lot.

Return value

int The number of the parking lot.

1 method overrides GarageInterface::insertVehicle()
Garage::insertVehicle in tests/modules/graphql_plugin_test/src/Garage.php
Add a vehicle to your garage.

File

tests/modules/graphql_plugin_test/src/GarageInterface.php, line 31

Class

GarageInterface
Interface definition for a garage.

Namespace

Drupal\graphql_plugin_test

Code

public function insertVehicle(array $vehicle, $lot = NULL);