29 lines
558 B
PHP
29 lines
558 B
PHP
|
|
<?php
|
||
|
|
|
||
|
|
namespace Lucent\Channel;
|
||
|
|
|
||
|
|
use Lucent\Primitive\Collection;
|
||
|
|
use Lucent\Schema\Schema;
|
||
|
|
|
||
|
|
final class Channel
|
||
|
|
{
|
||
|
|
public string $lucentUrl;
|
||
|
|
public string $filesUrl;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* @param Collection<Schema> $schemas
|
||
|
|
*/
|
||
|
|
function __construct(
|
||
|
|
public string $name,
|
||
|
|
public string $url,
|
||
|
|
public Collection $schemas,
|
||
|
|
public array $imageFilters,
|
||
|
|
// public Collection $previewTargets,
|
||
|
|
)
|
||
|
|
{
|
||
|
|
$this->lucentUrl = $url . "/lucent";
|
||
|
|
$this->filesUrl = $url . "/storage";
|
||
|
|
}
|
||
|
|
|
||
|
|
}
|