original_string: public function getRenderer()
      {
          $locator = $this->getServiceLocator();
          if (null === $this->renderer && $locator->has(Renderer\RendererInterface::class)) {
              $this->setRenderer($locator->get(Renderer\RendererInterface::class));
          }
  
          return $this->renderer;
      }
code: public function getRenderer()
      {
          $locator = $this->getServiceLocator();
          if (null === $this->renderer && $locator->has(Renderer\RendererInterface::class)) {
              $this->setRenderer($locator->get(Renderer\RendererInterface::class));
          }
  
          return $this->renderer;
      }
code_tokens: public function getRenderer ( ) { $ locator = $ this -> getServiceLocator ( ) ; if ( null === $ this -> renderer && $ locator -> has ( Renderer \ RendererInterface :: class ) ) { $ this -> setRenderer ( $ locator -> get ( Renderer \ RendererInterface :: class ) ) ; } return $ this -> renderer ; }
docstring: Retrieve renderer instance
  
  @return null|Renderer\RendererInterface
docstring_tokens: Retrieve renderer instance