original_string: protected function getClass($config, $name)
      {
          if (array_key_exists($name, $config) 
                  && is_array($config[$name])
                  && array_key_exists('class', $config[$name]) 
                  && is_scalar($config[$name]['class'])) {
              return $config[$name]['class'];
          }
          
          return false;
      }
code: protected function getClass($config, $name)
      {
          if (array_key_exists($name, $config) 
                  && is_array($config[$name])
                  && array_key_exists('class', $config[$name]) 
                  && is_scalar($config[$name]['class'])) {
              return $config[$name]['class'];
          }
          
          return false;
      }
code_tokens: protected function getClass ( $ config , $ name ) { if ( array_key_exists ( $ name , $ config ) && is_array ( $ config [ $ name ] ) && array_key_exists ( 'class' , $ config [ $ name ] ) && is_scalar ( $ config [ $ name ] [ 'class' ] ) ) { return $ config [ $ name ] [ 'class' ] ; } return false ; }
docstring: Look for class name in configuration
  
  @param array $config
  @param string $name
  @return boolean
docstring_tokens: Look for class name in configuration