Sindbad~EG File Manager

Current Path : /var/www/html/pma/libraries/classes/Controllers/
Upload File :
Current File : /var/www/html/pma/libraries/classes/Controllers/RecentTablesListController.php

<?php

declare(strict_types=1);

namespace PhpMyAdmin\Controllers;

use PhpMyAdmin\RecentFavoriteTable;

final class RecentTablesListController extends AbstractController
{
    public function __invoke(): void
    {
        if (! $this->response->isAjax()) {
            return;
        }

        $this->response->addJSON([
            'list' => RecentFavoriteTable::getInstance('recent')->getHtmlList(),
        ]);
    }
}

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists