get_object_vars

Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Gets the properties of the given object
<?php get_object_vars(object $object): array
<?php     public function __sleep()

    {

        $vars = Arr::except(get_object_vars($this), ['original']);



        return array_keys($vars);

    }