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;
    }
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;
    }
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 ; }
Look for class name in configuration

@param array $config
@param string $name
@return boolean
Look for class name in configuration