Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Returns the name of the class of an object
<?php get_class(object $object = ?): string
<?php     protected static function patternCache(object $class): string {

        $class_name = get_class($class);

        if (!isset(self::$pattern_cache[$class_name])) {

            self::$pattern_cache[$class_name] = $class::pattern();

        }