for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
use AbterPhp\Admin\Http\Middleware\Api;
use AbterPhp\Admin\Http\Middleware\Authentication;
use AbterPhp\Admin\Http\Middleware\Authorization;
use AbterPhp\Admin\Http\Middleware\LastGridPage;
use AbterPhp\Files\Constant\Routes;
use AbterPhp\Framework\Authorization\Constant\Role;
use Opulence\Routing\Router;
/**
* ----------------------------------------------------------
* Create all of the routes for the HTTP kernel
*
* @var Router $router
*/
$router->group(
['controllerNamespace' => 'AbterPhp\Files\Http\Controllers'],
function (Router $router) {
/** @see \AbterPhp\Files\Http\Controllers\Website\File::download() */
$router->get(
Routes::PATH_FILE,
'Website\File@download',
[OPTION_NAME => Routes::ROUTE_PUBLIC_FILE]
OPTION_NAME
);
}