get_mangled_object_vars
laravel-shift/factory-generator
Supported Versions: PHP 7 >= 7.4.0, PHP 8
Returns an array of mangled object properties
<?php get_mangled_object_vars
(
object $object
): array