src/AdminBundle/Admin/Vehicles/Fraight/SpecificationAdmin.php line 9

Open in your IDE?
  1. <?php
  2. namespace AdminBundle\Admin\Vehicles\Fraight;
  3. use AdminBundle\Admin\Vehicles\BaseSpecificationAdmin;
  4. use CoreBundle\Model\Vehicles\VehicleType;
  5. class SpecificationAdmin extends BaseSpecificationAdmin
  6. {
  7.     protected $baseRouteName 'specification-fraight';
  8.     protected $baseRoutePattern 'specification-fraight-action';
  9.     protected function getVehicleType(): int {
  10.         return VehicleType::FRAIGHT_TYPE;
  11.     }
  12.     protected function getVehicleAdminCode(): string
  13.     {
  14.         return 'admin.vehicles.fraight_variation';
  15.     }
  16. }