mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 09:18:54 +00:00
26 lines
540 B
PHP
26 lines
540 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Services;
|
|
|
|
use App\Models\Settings;
|
|
|
|
class ConsolesProcessor
|
|
{
|
|
/** @phpstan-ignore property.onlyWritten */
|
|
private bool $echooutput;
|
|
|
|
public function __construct(bool $echooutput)
|
|
{
|
|
$this->echooutput = $echooutput;
|
|
}
|
|
|
|
public function process(string $groupID = '', string $guidChar = ''): void
|
|
{
|
|
if ((int) Settings::settingValue('lookupgames') !== 0) {
|
|
(new ConsoleService)->processConsoleReleases($groupID, $guidChar);
|
|
}
|
|
}
|
|
}
|