return static function DContainerConfigurator
$container) { $container->
parameters()->
set('test.client.parameters',
[]);
$container->
services() ->
set('test.client', KernelBrowser::
class) ->
args([ service('kernel'
),
param('test.client.parameters'
),
service('test.client.history'
),
service('test.client.cookiejar'
),
]) ->
share(false
) ->
public() ->
set('test.client.history', History::
class)->
share(false
) ->
set('test.client.cookiejar', CookieJar::
class)->
share(false
) ->
set('test.session.listener', SessionListener::
class) ->
args([ service_locator([ 'session_factory' =>
service('session.factory'
)->
ignoreOnInvalid(),
]),
param('kernel.debug'
),