public function __construct() { // give some values in order to prevent warnings parent::__construct(false, []); }
/** * @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(); }
/** * @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); }