ReflectionClass::newInstanceArgs

( excerpt from http://php.net/manual/en/reflectionclass.newinstanceargs.php )

Description

public function newInstanceArgs(
  $args = array(),
)

( excerpt from http://php.net/manual/en/reflectionclass.newinstanceargs.php )

Creates a new instance of the class, the given arguments are passed to the class constructor.

Parameters

  • $args = array()

Return Values

  • mixed - Returns a new instance of the class.