datatable.directory codebase https://datatable.directory/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

32 lines
638 B

<?php namespace AdamWathan\EloquentOAuth;
use SocialNorm\Session as SocialNormSession;
class Session implements SocialNormSession
{
/** @var \Illuminate\Session\SessionManager */
private $store;
public function __construct(\Illuminate\Session\SessionManager $store)
{
$this->store = $store;
}
/**
* @param string $key
* @return mixed
*/
public function get($key)
{
return $this->store->get($key);
}
/**
* @param string $key
* @param mixed|null $value
*/
public function put($key, $value)
{
$this->store->put($key, $value);
}
}