src/Annotations/AbstractAnnotation.php
private function nested($annotation, $nestedContext)
    {
        if (property_exists($annotation, '_context') && $annotation->_context === $this->_context) {
            $annotation->_context = $nestedContext;
        }
        return $annotation;
    }
private function nested($annotation, $nestedContext)
    {
        if (property_exists($annotation, '_context') && $annotation->_context === $this->_context) {
            $annotation->_context = $nestedContext;
        }
        return $annotation;
    }
private function nested ( $ annotation , $ nestedContext ) { if ( property_exists ( $ annotation , '_context' ) && $ annotation -> _context === $ this -> _context ) { $ annotation -> _context = $ nestedContext ; } return $ annotation ; }
Wrap the context with a reference to the annotation it is nested in.

@param  AbstractAnnotation $annotation
@param  Context            $nestedContext
@return AbstractAnnotation
Wrap the context with a reference to the annotation it is nested in .