<?php
namespace AdminBundle\Admin\Vehicles\Bus;
use AdminBundle\Admin\Vehicles\BaseInStockAdmin;
use CoreBundle\Model\Vehicles\VehicleType;
class InStockAdmin extends BaseInStockAdmin
{
protected $baseRouteName = 'in-stock-bus';
protected $baseRoutePattern = 'in-stock-bus-action';
protected function getVehicleType(): int {
return VehicleType::FRAIGHT_TYPE;
}
protected function getVariationAdminCode(): string
{
return 'admin.vehicles.bus_variation';
}
protected function getVehicleAdminCode(): string
{
return 'admin.vehicles.bus_vehicle';
}
}