laravel / 10 / api / 10.x / illuminate / foundation / testing / concerns / interactswithdeprecationhandling.html

InteractsWithDeprecationHandling

trait InteractsWithDeprecationHandling (View source)

Properties

protected callable|null $originalDeprecationHandler

The original deprecation handler.

Methods

$this withDeprecationHandling()

Restore deprecation handling.

$this withoutDeprecationHandling()

Disable deprecation handling for the test.

Details

protected $this withDeprecationHandling()

Restore deprecation handling.

Return Value

$this

protected $this withoutDeprecationHandling()

Disable deprecation handling for the test.

Return Value

$this

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/10.x/Illuminate/Foundation/Testing/Concerns/InteractsWithDeprecationHandling.html