original_string: public function createServiceWithName(ServiceLocatorInterface $serviceLocator, $name, $requestedName)
      {
          $config = $serviceLocator->get('config');
          $class = $this->getClass($config, $requestedName);
          return new $class($config[$requestedName]);
      }
code: public function createServiceWithName(ServiceLocatorInterface $serviceLocator, $name, $requestedName)
      {
          $config = $serviceLocator->get('config');
          $class = $this->getClass($config, $requestedName);
          return new $class($config[$requestedName]);
      }
code_tokens: public function createServiceWithName ( ServiceLocatorInterface $ serviceLocator , $ name , $ requestedName ) { $ config = $ serviceLocator -> get ( 'config' ) ; $ class = $ this -> getClass ( $ config , $ requestedName ) ; return new $ class ( $ config [ $ requestedName ] ) ; }
docstring: Create and configure class by creating new instance of class from
  configuration
  
  @see \Zend\ServiceManager\AbstractFactoryInterface::createServiceWithName()
  @param ServiceLocatorInterface $serviceLocator
  @param string $name
  @param string $requestedName
  @return mixed
docstring_tokens: Create and configure class by creating new instance of class from configuration