trait WithCachedConfig

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

at line 15
protected void setUpWithCachedConfig()

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

Return Value

void

at line 29
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

at line 37
protected void markConfigCached(Application $app)

Inform the container that the configuration is cached.

Parameters

Application $app

Return Value

void