Function getTypeName

Returns the objects class or var type of it's not an object

Copyright: Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
License: MIT License
Located at Core/functions.php
getTypeName( mixed $var )

Parameters summary

mixed $var Variable to check

Returns

  • string Returns the class name or variable type

© 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.6/function-getTypeName.html