• Motch Julien's avatar
    Update to Laravel 5.4 Sessions:Symfony Compatibility (#328) · 2c8a4b2a
    Motch Julien authored
    See https://laravel.com/docs/5.4/upgrade
    
    >set() method should be changed to ->put()
    
    ....
    
    Sessions:Symfony Compatibility
    
    Laravel's session handlers no longer implements Symfony's SessionInterface. Implementing this interface required us to implement extraneous features that were not needed by the framework. Instead, a new Illuminate\Contracts\Session\Session interface has been defined and may be used instead. The following code changes should also be applied:
    
    All calls to the ->set() method should be changed to ->put(). Typically, Laravel applications would never call the set method since it has never been documented within the Laravel documentation. However, it is included here out of caution.
    
    All calls to the ->getToken() method should be changed to ->token().
    
    All calls to the $request->setSession() method should be changed to setLaravelSession().
    2c8a4b2a
Name
Last commit
Last update
..
Core Loading commit data...
Dashboard Loading commit data...
Media Loading commit data...
Menu Loading commit data...
Page Loading commit data...
Setting Loading commit data...
Tag Loading commit data...
Translation Loading commit data...
User Loading commit data...
Workshop Loading commit data...