protected function __construct($key, $code, $text) { parent::__construct($key); $this->code = $code; $this->text = $text; }
/** * @param string $key * @param string $letterCode * @param integer $numberCode */ protected function __construct($key, $letterCode, $numberCode) { parent::__construct($key); $this->letterCode = $letterCode; $this->numberCode = $numberCode; }
/** * * @param string $key * @param string $inputPrefix * @param string $intervalPrefix * @param string $name * @param boolean $isTime */ protected function __construct($key, $inputPrefix, $intervalPrefix, $name, $isTime) { parent::__construct($key); $this->inputPrefix = $inputPrefix; $this->intervalPrefix = $intervalPrefix; $this->name = $name; $this->isTime = $isTime; }
/** * Construct and register a new value multiton member. * * @api * * @param string $key The string key to associate with this member. * @param mixed $value The value of this member. * * @throws ExtendsConcreteException If the constructed member has an invalid inheritance hierarchy. */ protected function __construct($key, $value) { parent::__construct($key); $this->value = $value; }