/** * @param string $name * @param BlockProperty $blockProperty * @param null|ReferencedElementAbstract $referencedElement */ public function __construct($name, BlockProperty $blockProperty, ReferencedElementAbstract $referencedElement = null) { parent::__construct(); $this->name = $name; $this->blockProperty = $blockProperty; $this->referencedElement = $referencedElement; }
/** * @param string $name * @param mixed $value * @param User $user */ public function __construct($name, $value, UserPreferencesCollection $collection) { parent::__construct(); $this->name = $name; $this->value = $value; $this->collection = $collection; }
/** * @param string $name * @param Abstraction\File $file */ public function __construct($name, Abstraction\File $file) { parent::__construct(); $this->name = $name; $this->file = $file; }
/** * Constructor */ public function __construct() { parent::__construct(); $this->localizations = new ArrayCollection(); }
/** * @param string $name */ public function __construct($name) { parent::__construct(); $this->name = (string) $name; $this->metadata = new ArrayCollection(); $this->properties = new ArrayCollection(); }
/** * Create block properties collection */ public function __construct() { parent::__construct(); $this->blockProperties = new ArrayCollection(); }
/** * @param string $localeId */ public function __construct($localeId) { parent::__construct(); $this->locale = $localeId; $this->blockProperties = new ArrayCollection(); $this->placeHolders = new ArrayCollection(); $this->tags = new ArrayCollection(); }
/** * */ public function __construct() { parent::__construct(); $this->preferences = new Collections\ArrayCollection(); }