src/Utils/ArrayDot.php
public function has($key)
    {
        $keys = explode('.', $key);
        $cKeys = count($keys);
        $config = $this->_arr;

        for ($i = 0; $i < $cKeys; ++$i) {
            if (is_array($config)) {
                if (array_key_exists($keys[$i], $config)) {
                    $config = $config[$keys[$i]];
                } else {
                    return false;
                }
            } else {
                return false;
            }
        }

        return true;
    }
public function has($key)
    {
        $keys = explode('.', $key);
        $cKeys = count($keys);
        $config = $this->_arr;

        for ($i = 0; $i < $cKeys; ++$i) {
            if (is_array($config)) {
                if (array_key_exists($keys[$i], $config)) {
                    $config = $config[$keys[$i]];
                } else {
                    return false;
                }
            } else {
                return false;
            }
        }

        return true;
    }
public function has ( $ key ) { $ keys = explode ( '.' , $ key ) ; $ cKeys = count ( $ keys ) ; $ config = $ this -> _arr ; for ( $ i = 0 ; $ i < $ cKeys ; ++ $ i ) { if ( is_array ( $ config ) ) { if ( array_key_exists ( $ keys [ $ i ] , $ config ) ) { $ config = $ config [ $ keys [ $ i ] ] ; } else { return false ; } } else { return false ; } } return true ; }
Checks whether config has a certain key.

@param string $key Dot-separated string of key

@return bool
Checks whether config has a certain key .