Recca0120\LaravelTracy\Panels\TerminalPanel::getAttributes PHP Метод

getAttributes() защищенный Метод

getAttributes.
protected getAttributes ( ) : array
Результат array
    protected function getAttributes()
    {
        $data = ['html' => null];
        if ($this->isLaravel() === true) {
            try {
                $controller = $this->laravel->make(TerminalController::class);
                $response = $this->laravel->call([$controller, 'index'], ['view' => 'panel']);
                $data['html'] = $response->getContent();
            } catch (Exception $e) {
            }
        }
        return $data;
    }
TerminalPanel