• 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
..
Blade Loading commit data...
Config Loading commit data...
Contracts Loading commit data...
Database Loading commit data...
Entities Loading commit data...
Events Loading commit data...
Facades Loading commit data...
Http Loading commit data...
Providers Loading commit data...
Repositories Loading commit data...
Resources/views Loading commit data...
Sidebar Loading commit data...
Support Loading commit data...
Tests Loading commit data...
.gitignore Loading commit data...
.php_cs Loading commit data...
.sensiolabs.yml Loading commit data...
LICENSE.md Loading commit data...
changelog.yml Loading commit data...
composer.json Loading commit data...
grumphp.yml Loading commit data...
helpers.php Loading commit data...
module.json Loading commit data...
phpunit.xml Loading commit data...