src/AdminBundle/Admin/Vehicles/Moto/InStockAdmin.php line 9

Open in your IDE?
  1. <?php
  2. namespace AdminBundle\Admin\Vehicles\Moto;
  3. use AdminBundle\Admin\Vehicles\BaseInStockAdmin;
  4. use CoreBundle\Model\Vehicles\VehicleType;
  5. class InStockAdmin extends BaseInStockAdmin
  6. {
  7.     protected $baseRouteName 'in-stock-moto';
  8.     protected $baseRoutePattern 'in-stock-moto-action';
  9.     protected function getVehicleType(): int {
  10.         return VehicleType::MOTO_TYPE;
  11.     }
  12.     protected function getVariationAdminCode(): string
  13.     {
  14.         return 'admin.vehicles.moto_variation';
  15.     }
  16.     protected function getVehicleAdminCode(): string
  17.     {
  18.         return 'admin.vehicles.moto_vehicle';
  19.     }
  20. }