mirror of
https://github.com/bitinflow/expose.git
synced 2026-03-13 13:35:54 +00:00
25 lines
483 B
PHP
25 lines
483 B
PHP
<?php
|
|
|
|
namespace App\Server\LoggerRepository;
|
|
|
|
use App\Contracts\LoggerRepository;
|
|
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([]);
|
|
}
|
|
}
|