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