src/Utility/Macros.php
public function get($key = null)
    {
        if (Arr::key($key, $this->_data)) {
            return $this->_data[$key];
        }

        return $this->_data;
    }
public function get($key = null)
    {
        if (Arr::key($key, $this->_data)) {
            return $this->_data[$key];
        }

        return $this->_data;
    }
public function get ( $ key = null ) { if ( Arr :: key ( $ key , $ this -> _data ) ) { return $ this -> _data [ $ key ] ; } return $ this -> _data ; }
Get replacement val or all list.

@param   null|string|int $key
@return  array
Get replacement val or all list .