24 lines
457 B
PHP
24 lines
457 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Radio\Backend;
|
|
|
|
use App\Entity;
|
|
|
|
class None extends AbstractBackend
|
|
{
|
|
public function isInstalled(): bool
|
|
{
|
|
return true;
|
|
}
|
|
|
|
public function start(Entity\Station $station): void
|
|
{
|
|
$this->logger->error(
|
|
'Cannot start process; AutoDJ is currently disabled.',
|
|
['station_id' => $station->getId(), 'station_name' => $station->getName()]
|
|
);
|
|
}
|
|
}
|