original_string: public function getService($service)
      {
          foreach ($this->queue as $extension) {
              $new = call_user_func($extension, $service, $this->container);
  
              if ($new) {
                  $service = $new;
              }
          }
  
          return $service;
      }
code: public function getService($service)
      {
          foreach ($this->queue as $extension) {
              $new = call_user_func($extension, $service, $this->container);
  
              if ($new) {
                  $service = $new;
              }
          }
  
          return $service;
      }
code_tokens: public function getService ( $ service ) { foreach ( $ this -> queue as $ extension ) { $ new = call_user_func ( $ extension , $ service , $ this -> container ) ; if ( $ new ) { $ service = $ new ; } } return $ service ; }
docstring: Gets the extended version of the service.
  
  @param mixed $service
  @return mixed
docstring_tokens: Gets the extended version of the service .