public function __construct($attribute = null, $type = null, $values = []) { $this->setAttribute($attribute)->setType($type)->setValues($values); }