trait WithCachedConfig (View source)

Methods

void
setUpWithCachedConfig()

After resolving the configuration once, we can cache it for the remaining tests.

void
tearDownWithCachedConfig()

Reset the cached configuration.

void
markConfigCached(Application $app)

Inform the container that the configuration is cached.

Details

protected void setUpWithCachedConfig()

After resolving the configuration once, we can cache it for the remaining tests.

Return Value

void

protected void tearDownWithCachedConfig()

Reset the cached configuration.

This is helpful if some of the tests in the suite apply this trait while others do not.

Return Value

void

protected void markConfigCached(Application $app)

Inform the container that the configuration is cached.

Parameters

Application $app

Return Value

void