original_string: public function canCreateServiceWithName(ServiceLocatorInterface $serviceLocator, $name, $requestedName)
      {
          $config = $serviceLocator->get('config');
          $class = $this->getClass($config, $requestedName);
          return $class && class_exists($class);
      }
code: public function canCreateServiceWithName(ServiceLocatorInterface $serviceLocator, $name, $requestedName)
      {
          $config = $serviceLocator->get('config');
          $class = $this->getClass($config, $requestedName);
          return $class && class_exists($class);
      }
code_tokens: public function canCreateServiceWithName ( ServiceLocatorInterface $ serviceLocator , $ name , $ requestedName ) { $ config = $ serviceLocator -> get ( 'config' ) ; $ class = $ this -> getClass ( $ config , $ requestedName ) ; return $ class && class_exists ( $ class ) ; }
docstring: Test if configuration exists and has class field
  
  @see \Zend\ServiceManager\AbstractFactoryInterface::canCreateServiceWithName()
  @param ServiceLocatorInterface $serviceLocator
  @param string $name
  @param string $requestedName
  @return boolean
docstring_tokens: Test if configuration exists and has class field