ReflectionClass::newInstance

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

Description

public function newInstance(
  ...$args,
)

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

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

Parameters

  • ...$args