• 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
.github Loading commit data...
Modules Loading commit data...
Themes Loading commit data...
app Loading commit data...
bootstrap Loading commit data...
config Loading commit data...
database Loading commit data...
public Loading commit data...
resources Loading commit data...
routes Loading commit data...
storage Loading commit data...
tests Loading commit data...
.env.example Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.php_cs Loading commit data...
.travis.yml Loading commit data...
artisan Loading commit data...
composer.json Loading commit data...
gulpfile.js Loading commit data...
package.json Loading commit data...
phpunit.xml Loading commit data...
readme.md Loading commit data...
server.php Loading commit data...
travis.sh Loading commit data...