app/Statistics.php
public function getAllTagsTable(): string
    {
        $examples = [];

        foreach (get_class_methods($this) as $method) {
            $reflection = new ReflectionMethod($this, $method);
            if ($reflection->isPublic() && !in_array($method, self::$public_but_not_allowed, true) && (string) $reflection->getReturnType() !== Builder::class) {
                $examples[$method] = $this->$method();
            }
        }

        ksort($examples);

        $html = '';
        foreach ($examples as $tag => $value) {
            $html .= '<dt>#' . $tag . '#</dt>';
            $html .= '<dd>' . $value . '</dd>';
        }

        return '<dl>' . $html . '</dl>';
    }
public function getAllTagsTable(): string
    {
        $examples = [];

        foreach (get_class_methods($this) as $method) {
            $reflection = new ReflectionMethod($this, $method);
            if ($reflection->isPublic() && !in_array($method, self::$public_but_not_allowed, true) && (string) $reflection->getReturnType() !== Builder::class) {
                $examples[$method] = $this->$method();
            }
        }

        ksort($examples);

        $html = '';
        foreach ($examples as $tag => $value) {
            $html .= '<dt>#' . $tag . '#</dt>';
            $html .= '<dd>' . $value . '</dd>';
        }

        return '<dl>' . $html . '</dl>';
    }
public function getAllTagsTable ( ) : string { $ examples = [ ] ; foreach ( get_class_methods ( $ this ) as $ method ) { $ reflection = new ReflectionMethod ( $ this , $ method ) ; if ( $ reflection -> isPublic ( ) && ! in_array ( $ method , self :: $ public_but_not_allowed , true ) && ( string ) $ reflection -> getReturnType ( ) !== Builder :: class ) { $ examples [ $ method ] = $ this -> $ method ( ) ; } } ksort ( $ examples ) ; $ html = '' ; foreach ( $ examples as $ tag => $ value ) { $ html .= '<dt>#' . $ tag . '#</dt>' ; $ html .= '<dd>' . $ value . '</dd>' ; } return '<dl>' . $ html . '</dl>' ; }
Return a string of all supported tags and an example of its output in table row form.

@return string
Return a string of all supported tags and an example of its output in table row form .