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