public __construct ( Doctrine\Common\Persistence\ManagerRegistry $managerRegistry, Symfony\Component\HttpFoundation\RequestStack $requestStack, Psr\Log\LoggerInterface $logger = null, array $properties = null ) | ||
$managerRegistry | Doctrine\Common\Persistence\ManagerRegistry | |
$requestStack | Symfony\Component\HttpFoundation\RequestStack | |
$logger | Psr\Log\LoggerInterface | |
$properties | array |
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(); }