The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Bread::Board::Container::Role::WithSessions - Session helper methods for Bread::Board Containers

VERSION

version v0.900.1

DESCRIPTION

This role defines Session helper methods for Containers.

METHODS

flush_session_instances

This method clears all Session instances from the container and any sub-containers. In most cases, this should be called on the root container, but it can be called on a sub-container, if you want to only clear out services within that container.

If successful, it will return the number of services that were flushed. Note that this may be zero.

AUTHOR

Grant Street Group <developers@grantstreet.com>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2015 - 2020 by Grant Street Group.

This is free software, licensed under:

  The Artistic License 2.0 (GPL Compatible)