AzuraCast/src/Radio/Remote/AdapterProxy.php

27 lines
429 B
PHP
Raw Normal View History

<?php
2021-07-19 07:53:45 +02:00
declare(strict_types=1);
namespace App\Radio\Remote;
use App\Entity;
class AdapterProxy
{
2021-04-23 07:24:12 +02:00
public function __construct(
protected AbstractRemote $adapter,
protected Entity\StationRemote $remote
) {
}
public function getAdapter(): AbstractRemote
{
return $this->adapter;
}
public function getRemote(): Entity\StationRemote
{
return $this->remote;
}
}