BetterReflectionTest\Reflection\ReflectionTypeTest::testCreateFromType PHP Метод

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

public testCreateFromType ( )
    public function testCreateFromType()
    {
        $type = new Types\String_();
        $typeInfo = ReflectionType::createFromType($type, false);
        $this->assertInstanceOf(ReflectionType::class, $typeInfo);
    }