get_object_vars
laravel/octane
Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Gets the properties of the given object
<?php get_object_vars
(
object $object
): array