public function cleanVehicle($vehicle)
    {
        $response = $this->query($this->prepareUri('clean/vehicle'), [$vehicle]);
        $result = $this->populate(new Vehicle, $response);
        if (!$result instanceof Vehicle) {
            throw new RuntimeException('Unexpected populate result: ' . get_class($result). '. Expected: ' . Vehicle::class);
        }

        return $result;
    }
public function cleanVehicle($vehicle)
    {
        $response = $this->query($this->prepareUri('clean/vehicle'), [$vehicle]);
        $result = $this->populate(new Vehicle, $response);
        if (!$result instanceof Vehicle) {
            throw new RuntimeException('Unexpected populate result: ' . get_class($result). '. Expected: ' . Vehicle::class);
        }

        return $result;
    }
public function cleanVehicle ( $ vehicle ) { $ response = $ this -> query ( $ this -> prepareUri ( 'clean/vehicle' ) , [ $ vehicle ] ) ; $ result = $ this -> populate ( new Vehicle , $ response ) ; if ( ! $ result instanceof Vehicle ) { throw new RuntimeException ( 'Unexpected populate result: ' . get_class ( $ result ) . '. Expected: ' . Vehicle :: class ) ; } return $ result ; }
Cleans vehicle.

@param string $vehicle

@return Vehicle
@throws RuntimeException
@throws InvalidArgumentException
Cleans vehicle .