PhpParser\Node\Stmt\ClassTest::testIsFinal PHP 메소드

testIsFinal() 공개 메소드

public testIsFinal ( )
    public function testIsFinal()
    {
        $class = new Class_('Foo', array('type' => Class_::MODIFIER_FINAL));
        $this->assertTrue($class->isFinal());
        $class = new Class_('Foo');
        $this->assertFalse($class->isFinal());
    }