Reputation: 3
Can anyone of you help me with an example of how to override symfony's component. In my case I need to override Session class from Symfony/Component/HttpFoundation/Session.php
Thanks!
Upvotes: 0
Views: 1011
Reputation: 8965
You can override the session.class
parameter in config.yml
:
parameters:
session.class: Foo\Bar\Session
Upvotes: 6