public function get($key = null, $default = null)
    {
        if ($this->has($key)) {
            return $this->getValueAtKey($key, $this->payload());
        }
        return $default;
    }
public function get($key = null, $default = null)
    {
        if ($this->has($key)) {
            return $this->getValueAtKey($key, $this->payload());
        }
        return $default;
    }
public function get ( $ key = null , $ default = null ) { if ( $ this -> has ( $ key ) ) { return $ this -> getValueAtKey ( $ key , $ this -> payload ( ) ) ; } return $ default ; }
Retrieve an payload item from the payload data, return default item if item not found.

@param string $key
@param string $default

@return mixed|null
Retrieve an payload item from the payload data return default item if item not found .