Cartalyst\Sentinel\Sessions\IlluminateSession::put PHP Method

put() public method

{@inheritDoc}
public put ( $value )
    public function put($value)
    {
        $this->session->put($this->key, $value);
    }

Usage Example

 public function testPut()
 {
     $session = new IlluminateSession($store = m::mock('Illuminate\\Session\\Store'), 'foo');
     $store->shouldReceive('put')->with('foo', 'bar')->once();
     $session->put('bar');
 }