2018-09-22 13:52:43 +02:00
|
|
|
<?php
|
2020-10-15 00:19:31 +02:00
|
|
|
|
2021-07-19 07:53:45 +02:00
|
|
|
declare(strict_types=1);
|
|
|
|
|
2018-09-22 13:52:43 +02:00
|
|
|
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
|
|
|
|
) {
|
2018-09-22 13:52:43 +02:00
|
|
|
}
|
|
|
|
|
2018-12-27 09:24:07 +01:00
|
|
|
public function getAdapter(): AbstractRemote
|
2018-09-22 13:52:43 +02:00
|
|
|
{
|
|
|
|
return $this->adapter;
|
|
|
|
}
|
|
|
|
|
|
|
|
public function getRemote(): Entity\StationRemote
|
|
|
|
{
|
|
|
|
return $this->remote;
|
|
|
|
}
|
|
|
|
}
|