src/Valuestore.php
public function get(string $name, $default = null)
    {
        $all = $this->all();

        if (! array_key_exists($name, $all)) {
            return $default;
        }

        return $all[$name];
    }
public function get(string $name, $default = null)
    {
        $all = $this->all();

        if (! array_key_exists($name, $all)) {
            return $default;
        }

        return $all[$name];
    }
public function get ( string $ name , $ default = null ) { $ all = $ this -> all ( ) ; if ( ! array_key_exists ( $ name , $ all ) ) { return $ default ; } return $ all [ $ name ] ; }
Get a value from the store.

@param string $name
@param $default

@return null|string|array
Get a value from the store .