Nelmio\Alice\Generator\GenerationContext::unmarkAsNeedsCompleteGeneration PHP Method

unmarkAsNeedsCompleteGeneration() public method

    public function unmarkAsNeedsCompleteGeneration()
    {
        $this->needsCompleteResolution = false;
    }

Usage Example

Example #1
0
 public function testAccessors()
 {
     $context = new GenerationContext();
     $this->assertTrue($context->isFirstPass());
     $this->assertFalse($context->needsCompleteGeneration());
     $context->setToSecondPass();
     $this->assertFalse($context->isFirstPass());
     $this->assertFalse($context->needsCompleteGeneration());
     $context->markAsNeedsCompleteGeneration();
     $this->assertFalse($context->isFirstPass());
     $this->assertTrue($context->needsCompleteGeneration());
     $context->unmarkAsNeedsCompleteGeneration();
     $this->assertFalse($context->isFirstPass());
     $this->assertFalse($context->needsCompleteGeneration());
 }