MockFileSessionStorage::save()

save()

Force the session to be saved and closed.

This method must invoke sessionwriteclose() unless this interface is used for a storage object design for unit or functional testing where a real PHP session would interfere with testing, in which case it should actually persist the session data if required.

Exceptions

RuntimeException If the session is saved without being started, or if the session is already closed.
doc_Symfony
2016-10-28 06:23:54
Comments
Leave a Comment

Please login to continue.