get_object_vars
laravel/framework
Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Gets the properties of the given object
get_object_vars
(
object $object
): array
$this
->
classCastCache
= [];
$this
->
attributeCastCache
= [];
return
array_keys
(
get_object_vars
(
$this
));
}
src/Illuminate/Database/Eloquent/Model.php