original_string: public function offsetGet($offset) {
          if($this->ResolveTraitOffsetExists($offset)) {
              return $this->ResolveTraitOffsetGet($offset);
          }
  
          if($this->AccessTraitOffsetExists($offset)) {
              return $this->AccessTraitOffsetGet($offset);
          }
  
          //return service if one exists with the requested name
          if($this->getLoops()->hasService($offset)) {
              return $this->getLoops()->getService($offset);
          }
  
          user_error("Undefined index: $offset", E_USER_NOTICE);
      }
code: public function offsetGet($offset) {
          if($this->ResolveTraitOffsetExists($offset)) {
              return $this->ResolveTraitOffsetGet($offset);
          }
  
          if($this->AccessTraitOffsetExists($offset)) {
              return $this->AccessTraitOffsetGet($offset);
          }
  
          //return service if one exists with the requested name
          if($this->getLoops()->hasService($offset)) {
              return $this->getLoops()->getService($offset);
          }
  
          user_error("Undefined index: $offset", E_USER_NOTICE);
      }
code_tokens: public function offsetGet ( $ offset ) { if ( $ this -> ResolveTraitOffsetExists ( $ offset ) ) { return $ this -> ResolveTraitOffsetGet ( $ offset ) ; } if ( $ this -> AccessTraitOffsetExists ( $ offset ) ) { return $ this -> AccessTraitOffsetGet ( $ offset ) ; } //return service if one exists with the requested name if ( $ this -> getLoops ( ) -> hasService ( $ offset ) ) { return $ this -> getLoops ( ) -> getService ( $ offset ) ; } user_error ( "Undefined index: $offset" , E_USER_NOTICE ) ; }
docstring: Gets a value either via the ResolveTrait, AccessTrait or the loops getService functionality
  
  Values are checked in that order. If no value existed, a notice will be generated.
  
  @param string $key The name of the service
  @return mixed The requested service or NULL if not available
docstring_tokens: Gets a value either via the ResolveTrait AccessTrait or the loops getService functionality