className() public méthode

Note that it caches the class name in the $className object property to reduce overhead from calls to get_class().
public className ( array | null $options = null ) : string
$options array | null Optionally an option: - lowercase (bool): Specify true to make it return hyphenated lowercase version of class name
Résultat string
 /**
  * Get all debug info for the given Wire object
  * 
  * @param Wire $obj
  * @return array
  * 
  */
 public function getDebugInfo(Wire $obj)
 {
     $className = $obj->className();
     $info = array();
     if (method_exists($this, $className)) {
         $info = array_merge($info, $this->{$className}($obj));
     }
     $changes = $obj->getChanges();
     if (count($changes)) {
         $info['changes'] = $changes;
     }
     $hooks = $this->getHooksInfo($obj);
     if (count($hooks)) {
         $info['hooks'] = $hooks;
     }
     return $info;
 }