protected function getKeys($path, array $keys)
    {
        if (!$this->has($path)) {
            return false;
        }

        $return = [];
        foreach ($keys as $key) {
            if ($key === 'path') {
                $return[$key] = $path;
                continue;
            }

            $return[$key] = $this->storage[$path][$key];
        }

        return $return;
    }
protected function getKeys($path, array $keys)
    {
        if (!$this->has($path)) {
            return false;
        }

        $return = [];
        foreach ($keys as $key) {
            if ($key === 'path') {
                $return[$key] = $path;
                continue;
            }

            $return[$key] = $this->storage[$path][$key];
        }

        return $return;
    }
protected function getKeys ( $ path , array $ keys ) { if ( ! $ this -> has ( $ path ) ) { return false ; } $ return = [ ] ; foreach ( $ keys as $ key ) { if ( $ key === 'path' ) { $ return [ $ key ] = $ path ; continue ; } $ return [ $ key ] = $ this -> storage [ $ path ] [ $ key ] ; } return $ return ; }
Returns the keys for a path.

@param string $path
@param array  $keys

@return array|false
Returns the keys for a path .