<?phpnamespace AdminBundle\Admin\Vehicles\Bus;use AdminBundle\Admin\Vehicles\BaseSpecificationAdmin;use CoreBundle\Model\Vehicles\VehicleType;class SpecificationAdmin extends BaseSpecificationAdmin{ protected $baseRouteName = 'specification-bus'; protected $baseRoutePattern = 'specification-bus-action'; protected function getVehicleType(): int { return VehicleType::BUS_TYPE; } protected function getVehicleAdminCode(): string { return 'admin.vehicles.bus_vehicle'; }}