__construct() 공개 메소드

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
예제 #1
0
 public function __construct(ManagerRegistry $managerRegistry, RequestStack $requestStack, string $orderParameterName, LoggerInterface $logger = null, array $properties = null)
 {
     parent::__construct($managerRegistry, $requestStack, $logger, $properties);
     $this->orderParameterName = $orderParameterName;
 }
예제 #2
0
 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();
 }