예제 #1
0
 public function __construct()
 {
     // give some values in order to prevent warnings
     parent::__construct(false, []);
 }
예제 #2
0
 /**
  * @param string         $entityName
  * @param array          $properties
  * @param SecurityFacade $securityFacade
  */
 public function __construct($entityName, array $properties, SecurityFacade $securityFacade)
 {
     parent::__construct($entityName, $properties);
     $this->securityFacade = $securityFacade;
     $this->propertyAccessor = new PropertyAccessor();
 }
예제 #3
0
 /**
  * @param string $entityName
  * @param array  $properties
  * @param string $channelRelationName
  * @param string $channelSearchPropertyName
  */
 public function __construct($entityName, array $properties, $channelRelationName = 'dataChannel', $channelSearchPropertyName = 'dataChannelId')
 {
     parent::__construct($entityName, $properties);
     $this->channelRelationName = $channelRelationName;
     $this->channelSearchPropertyName = $channelSearchPropertyName;
 }
 /**
  * @param string $entityName
  * @param array $properties
  * @param FrontendProductListModifier $productListModifier
  */
 public function __construct($entityName, array $properties, FrontendProductListModifier $productListModifier)
 {
     $this->productListModifier = $productListModifier;
     parent::__construct($entityName, $properties);
 }