public function assertArray($config, $key)
    {
        if (array_key_exists($key, $config) && !is_array($config[$key])) {
            throw new ConfigurationException($key." section must be an array.");
        }
        return $this;
    }
public function assertArray($config, $key)
    {
        if (array_key_exists($key, $config) && !is_array($config[$key])) {
            throw new ConfigurationException($key." section must be an array.");
        }
        return $this;
    }
public function assertArray ( $ config , $ key ) { if ( array_key_exists ( $ key , $ config ) && ! is_array ( $ config [ $ key ] ) ) { throw new ConfigurationException ( $ key . " section must be an array." ) ; } return $ this ; }
Assert the property is array or is not set
@param array $config Array being validated
@param string $key Inspected array key
@return $this
@throws ConfigurationException On a failed assertation
Assert the property is array or is not set