for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Happyr\LinkedIn\Storage;
use Illuminate\Support\Facades\Session;
/**
* Store data in a IlluminateSession.
*
* @author Andreas Creten
*/
class IlluminateSessionStorage extends BaseDataStorage
{
* {@inheritdoc}
public function set($key, $value)
$this->validateKey($key);
$name = $this->getStorageKeyId($key);
return Session::put($name, $value);
}
public function get($key)
return Session::get($name);
public function clear($key)
return Session::forget($name);