src/Config.php
/**
     * Search for a key with dot notation in the array. If the key is not found NULL is returned
     *
     * @param string $key
     *
     * @return mixed|null Returns NULL if the key is not found.
     */
Search for a key with dot notation in the array. If the key is not found NULL is returned
@param string $key

@return mixed|null Returns NULL if the key is not found.
Search for a key with dot notation in the array . If the key is not found NULL is returned @param string $key @return mixed|null Returns NULL if the key is not found .
protected function parse($key)
    {
        $values = $this->registry;
        $parts = explode(".", $key);
        foreach ($parts as $part) {
            if ($part === "") {
                return $values;
            }
            if (!is_array($values) || !array_key_exists($part, $values)) {
                return ;
            }
            $values = $values[$part];
        }
        return $values;
    }
protected function parse ( $ key ) { $ values = $ this -> registry ; $ parts = explode ( " . " , $ key ) ; foreach ( $ parts as $ part ) { if ( $ part === " " ) { return $ values ; } if ( ! is_array ( $ values ) || ! array_key_exists ( $ part , $ values ) ) { return ; } $ values = $ values [ $ part ] ; } return $ values ; }
Search for a key with dot notation in the array.
Search for a key with dot notation in the array .