src/Container.php
public function get($key, $default = null)
    {
        return $this->has($key) ? $this->sm->get($key) : $default;
    }
public function get($key, $default = null)
    {
        return $this->has($key) ? $this->sm->get($key) : $default;
    }
Get data value with key
@param  string $key     The data key
@param  mixed  $default The value to return if data key does not exist
@return mixed           The data value, or the default value