function ( ContainerInterface $container ) : SessionHandler { return new SessionHandler(); }, 'session.cancellation.view' => function ( ContainerInterface $container ) : CancelView { return new CancelView( $container->get( 'wcgateway.settings' ), $container->get( 'wcgateway.funding-source.renderer' ) ); }, 'session.cancellation.controller' => function ( ContainerInterface $container ) : CancelController { return new CancelController( $container->get( 'session.handler' ), $container->get( 'session.cancellation.view' ) ); }, );