public function __construct(ManagerRegistry $managerRegistry, RequestStack $requestStack, string $orderParameterName, LoggerInterface $logger = null, array $properties = null) { parent::__construct($managerRegistry, $requestStack, $logger, $properties); $this->orderParameterName = $orderParameterName; }
public function __construct(ManagerRegistry $managerRegistry, RequestStack $requestStack, IriConverterInterface $iriConverter, PropertyAccessorInterface $propertyAccessor = null, LoggerInterface $logger = null, array $properties = null) { parent::__construct($managerRegistry, $requestStack, $logger, $properties); $this->iriConverter = $iriConverter; $this->propertyAccessor = $propertyAccessor ?: PropertyAccess::createPropertyAccessor(); }