events and hooks
This commit is contained in:
@@ -3,6 +3,9 @@
|
||||
namespace Lucent\Channel;
|
||||
|
||||
|
||||
use DirectoryIterator;
|
||||
use Illuminate\Support\Str;
|
||||
use Intervention\Image\Drivers\Imagick\Encoders\WebpEncoder;
|
||||
use Lucent\Channel\Data\UserCommand;
|
||||
use Lucent\Primitive\Collection;
|
||||
use Lucent\Schema\Schema;
|
||||
@@ -38,7 +41,7 @@ final class ChannelService
|
||||
$channel = new Channel(
|
||||
name: config("lucent.name") ?? "",
|
||||
url: rtrim(config("lucent.url") ?? "", "/"),
|
||||
previewTarget: rtrim(config("lucent.previewTarget") ?? "", "/"),
|
||||
previewTarget: rtrim(config("lucent.preview_target") ?? "", "/"),
|
||||
commands: Collection::make($userCommands),
|
||||
schemas: $schemasCollection,
|
||||
imageFilters: config("lucent.imageFilters") ?? [],
|
||||
|
||||
Reference in New Issue
Block a user