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

Exceptions

ErrorException

Laravel Cloud is the best place to deploy Laravel, Nuxt, Express, Hono, Node.js, Bun, Go, Flask, Python, and more, with dedicated infrastructure available on AWS through Laravel Private Cloud.