W3cubDocs

/CakePHP 3.8

Function deprecationWarning

Helper method for outputting deprecation warnings

Copyright: Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
License: MIT License
Located at Core/functions.php
deprecationWarning( string $message , integer $stackFrame = 1 )

Parameters summary

string $message The message to output as a deprecation warning.
integer $stackFrame = 1

The stack frame to include in the error. Defaults to 1 as that should point to application/plugin code.

© 2005–present The Cake Software Foundation, Inc.
Licensed under the MIT License.
CakePHP is a registered trademark of Cake Software Foundation, Inc.
We are not endorsed by or affiliated with CakePHP.
https://api.cakephp.org/3.8/function-deprecationWarning.html