This repository has been archived on 2023-01-06. You can view files and clone it, but cannot push or open issues or pull requests.
web/app/core/AccessControl.php

21 lines
313 B
PHP
Raw Normal View History

2022-01-30 21:11:38 +00:00
<?php
class AccessControl
{
public User $user;
private array $routes;
public function __construct(User $user)
{
$this->user = $user;
$this->routes = [
"index.php" => $this->catcher()
];
}
private function catcher(): void
{
// ...
}
}