Ejemplo n.º 1
0
 public function __construct()
 {
     // give some values in order to prevent warnings
     parent::__construct(false, []);
 }
Ejemplo n.º 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();
 }
Ejemplo n.º 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);
 }