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         }



        if ($value instanceof \Livewire\Wireable) {

            $keys = array_keys(get_object_vars($value));



            foreach ($keys as $key) {

                $value->{$key} = $this->dehydratePropertyFromWithFileUploads($value->{$key});
<?php         $this->classCastCache = [];

        $this->attributeCastCache = [];



        return array_keys(get_object_vars($this));

    }
<?php     public function __sleep()

    {

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



        return array_keys($vars);

    }