Pinq\Tests\Integration\ExpressionTrees\ScopedClassInterpreterBaseTest::assertRecompilesWithRebind PHP Метод

assertRecompilesWithRebind() закрытый защищенный Метод

final protected assertRecompilesWithRebind ( Closure $closure )
$closure Closure
    protected final function assertRecompilesWithRebind(\Closure $closure)
    {
        $this->assertRecompilesCorrectly($closure);
        //In StaticClass scope
        $boundClosure = \Closure::bind($closure, null, StaticClass::CLASS_TYPE);
        $this->assertRecompilesCorrectly($boundClosure);
        //With $this = new StaticClass()
        $boundClosure = \Closure::bind($closure, new StaticClass());
        $this->assertRecompilesCorrectly($boundClosure);
    }
ScopedClassInterpreterBaseTest