venom/src/Venom/Security/Security.php
Maurice Grönwoldt c33bb4cb3a rework structure
added Router
added .htaccess
removed API-Module => is not used
renamed batch to CRON
2020-09-10 22:47:58 +02:00

31 lines
No EOL
511 B
PHP

<?php
namespace Venom\Security;
class Security
{
private static ?Security $instance = null;
public static function get(): Security
{
if (self::$instance === null) {
self::$instance = new self();
}
return self::$instance;
}
/* @todo implement logic */
public function hasRole(string $role): bool
{
return true;
}
/* @todo implement logic */
public function hasRoles(array $roles): bool
{
return true;
}
}