icehawk / session-forms-bridge
A bridge implementation to combine the IceHawk components Session and Forms.
Installs: 13 923
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 1
Open Issues: 0
pkg:composer/icehawk/session-forms-bridge
Requires
- php: >=7.0
- icehawk/forms: ^1.0
- icehawk/session: ^1.0
Requires (Dev)
- tm/tooly-composer-script: ^1.0
This package is auto-updated.
Last update: 2025-10-10 07:42:02 UTC
README
IceHawk\SessionFormsBridge
A bridge implementation to combine the IceHawk components Session and Forms.
This package provides one class named AbstractSession that extends the original AbstractSession class from the
IceHawk Session component to combine it with the
IceHawk Forms component.
This bridge package is intended to be used to
- reduce the dependency definitions in the
composer.json - Add relevant methods to retrieve or unset
Forminstances
Added methods
public function getForm( IdentifiesForm $formId ) : Form
This method returns a new or existing Form instance from the session wrapper an guaranties that you always get the same instance for the same $formId.
public function unsetForm( IdentifiesForm $formId )
This method removes an existing Form instance from the session data.
public function unsetAllForms()
This method removes all existing Form instances from the session data.
More documentation
Read more about the IceHawk components Session and Forms in our documentation at icehawk.github.io.