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