BetterReflectionTest\Reflection\ReflectionClassTest::testCanReflectInstance PHP Метод

testCanReflectInstance() публичный Метод

    public function testCanReflectInstance()
    {
        $instance = new \stdClass();
        $this->assertSame(\stdClass::class, ReflectionClass::createFromInstance($instance)->getName());
    }
ReflectionClassTest