-
-
Notifications
You must be signed in to change notification settings - Fork 637
Closed
Labels
Milestone
Description
/**
* Constructor. Accepts multiple arguments or only a single array argument.
*
* @param mixed $arg First item of the array.
* @param mixed $arg,... Second item of the array.
* @return sArray
*/
public function __construct($arg = NULL) {
if (is_array($arg)) {
$this->data = array_values($arg);
return;
}
$this->data = func_get_args();
}
This only shows in the documentation as having the $arg
parameter.