get_class_vars

Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Get the default properties of the class
<?php get_class_vars(string $class): array
<?php     {

        $class = $class ?: static::class;



        if (! get_class_vars($class)['timestamps'] || ! $class::UPDATED_AT) {

            return true;

        }