Drahak\Restful\Diagnostics\ResourceRouterPanel::getTab PHP Method

getTab() public method

Renders HTML code for custom tab.
public getTab ( ) : string
return string
    public function getTab()
    {
        $icon = Html::el('img')->src(Helpers::dataStream(file_get_contents(__DIR__ . '/icon.png')))->height('16px');
        return '<span class="REST API resource routes">' . $icon . 'API resources</span>';
    }