original_string: public function setServiceLocator(ServiceLocatorInterface $serviceManager)
      {
          if (!$this->dbAdapter instanceof DbAdapter) {
              $this->dbAdapter = $serviceManager->getServiceLocator()->get($this->dbAdapter);
          }
      }
code: public function setServiceLocator(ServiceLocatorInterface $serviceManager)
      {
          if (!$this->dbAdapter instanceof DbAdapter) {
              $this->dbAdapter = $serviceManager->getServiceLocator()->get($this->dbAdapter);
          }
      }
code_tokens: public function setServiceLocator ( ServiceLocatorInterface $ serviceManager ) { if ( ! $ this -> dbAdapter instanceof DbAdapter ) { $ this -> dbAdapter = $ serviceManager -> getServiceLocator ( ) -> get ( $ this -> dbAdapter ) ; } }
docstring: Use Service Manager to inject database adapter
  
  @see \Zend\ServiceManager\ServiceLocatorAwareInterface::setServiceLocator()
  @param ServiceLocatorInterface $serviceManager
docstring_tokens: Use Service Manager to inject database adapter