src/Utility/ClassName.php
public static function full($object): string
    {
        if (is_string($object)) {
            return str_replace('.', '\\', $object);
        }

        if (is_object($object)) {
            return trim(get_class($object), '\\');
        }

        $message = sprintf(
            '%s expects $object to be an object or string; received (%s) %s',
            __METHOD__,
            gettype($object),
            VarPrinter::toString($object)
        );
        throw new TypeException($message);
    }
public static function full($object): string
    {
        if (is_string($object)) {
            return str_replace('.', '\\', $object);
        }

        if (is_object($object)) {
            return trim(get_class($object), '\\');
        }

        $message = sprintf(
            '%s expects $object to be an object or string; received (%s) %s',
            __METHOD__,
            gettype($object),
            VarPrinter::toString($object)
        );
        throw new TypeException($message);
    }
public static function full ( $ object ) : string { if ( is_string ( $ object ) ) { return str_replace ( '.' , '\\' , $ object ) ; } if ( is_object ( $ object ) ) { return trim ( get_class ( $ object ) , '\\' ) ; } $ message = sprintf ( '%s expects $object to be an object or string; received (%s) %s' , __METHOD__ , gettype ( $ object ) , VarPrinter :: toString ( $ object ) ) ; throw new TypeException ( $ message ) ; }
Retrieves the fully qualified class name of an object

@param object|string $object An object, fully qualified class name, or
canonical class name

@return string

@throws TypeException When $object is not a string or object
Retrieves the fully qualified class name of an object