Files
newznab-tmux/app/Services/BooksProcessor.php
T
2025-11-03 01:17:50 +01:00

24 lines
473 B
PHP

<?php
namespace App\Services;
use App\Models\Settings;
use Blacklight\Books;
class BooksProcessor
{
private bool $echooutput;
public function __construct(bool $echooutput)
{
$this->echooutput = $echooutput;
}
public function process(string $groupID = '', string $guidChar = ''): void
{
if ((int) Settings::settingValue('lookupbooks') !== 0) {
(new Books)->processBookReleases($groupID, $guidChar);
}
}
}