public function __construct() { $args = func_get_args(); if (count($args)) { $this->value = array_shift($args); $this->hasValue = true; } }