createFromName() public static method

Cannot instantiate this way, use ReflectionObject::createFromInstance
public static createFromName ( $className )
コード例 #1
0
 public function testCreateFromNameThrowsException()
 {
     $this->expectException(\LogicException::class);
     ReflectionObject::createFromName('foo');
 }