public function newInstanceArgs($args) { return hphp_create_object($this->info['name'], $args); }
/** * ( excerpt from * http://php.net/manual/en/reflectionclass.newinstanceargs.php ) * * Creates a new cass instance of the class, the given arguments are * passed to the class constructor. WarningThis function is currently not * documented; only its argument list is available. * * @args mixed The parameters to be passed to the class constructor * as an array. * * @return mixed Returns a new instance of the class. */ public function newInstanceArgs($args) { return hphp_create_object($this->name, array_values($args)); }