コード例 #1
0
 public function __construct()
 {
     // give some values in order to prevent warnings
     parent::__construct(false, []);
 }
コード例 #2
0
ファイル: SearchHandler.php プロジェクト: snorchel/platform
 /**
  * @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;
 }
コード例 #4
0
 /**
  * @param string $entityName
  * @param array $properties
  * @param FrontendProductListModifier $productListModifier
  */
 public function __construct($entityName, array $properties, FrontendProductListModifier $productListModifier)
 {
     $this->productListModifier = $productListModifier;
     parent::__construct($entityName, $properties);
 }