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         $throwableString = sprintf(

            "%s: %s in file %s on line %d\n\n%s\n",

            get_class($this->throwable),

            $this->throwable->getMessage(),

            $this->throwable->getFile(),

            $this->throwable->getLine(),
<?php     public function toArray(): array

    {

        return [

            'class' => get_class($this->solution),

            'title' => $this->solution->getSolutionTitle(),

            'links' => $this->solution->getDocumentationLinks(),

            'description' => $this->solution->getSolutionDescription(),