PhpParser\Builder\MethodTest::testReturnByRef PHP Метод

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

public testReturnByRef ( )
    public function testReturnByRef()
    {
        $node = $this->createMethodBuilder('test')->makeReturnByRef()->getNode();
        $this->assertEquals(new Stmt\ClassMethod('test', array('byRef' => true)), $node);
    }