mirror of
https://github.com/bitinflow/expose.git
synced 2026-03-13 13:35:54 +00:00
26 lines
524 B
PHP
26 lines
524 B
PHP
<?php
|
|
|
|
namespace App\Server\LoggerRepository;
|
|
|
|
use App\Contracts\LoggerRepository;
|
|
use Clue\React\SQLite\DatabaseInterface;
|
|
use React\Promise\PromiseInterface;
|
|
|
|
class NullLogger implements LoggerRepository
|
|
{
|
|
public function logSubdomain($authToken, $subdomain)
|
|
{
|
|
// noop
|
|
}
|
|
|
|
public function getLogsBySubdomain($subdomain): PromiseInterface
|
|
{
|
|
return \React\Promise\resolve([]);
|
|
}
|
|
|
|
public function getLogs(): PromiseInterface
|
|
{
|
|
return \React\Promise\resolve([]);
|
|
}
|
|
}
|