Skip to content

Commit 763c1bf

Browse files
authored
Update CodebaseInterface.php
1 parent c99ea2f commit 763c1bf

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/Frdlweb/Contract/Autoload/CodebaseInterface.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,13 @@ interface CodebaseInterface
99
const CHANNEL_LATEST = 'latest';
1010
const CHANNEL_STABLE = 'stable';
1111
const CHANNEL_FALLBACK = 'fallback';
12+
const CHANNELS =[
13+
self::CHANNEL_LATEST => self::CHANNEL_LATEST,
14+
self::CHANNEL_STABLE => self::CHANNEL_STABLE,
15+
self::CHANNEL_FALLBACK => self::CHANNEL_FALLBACK,
16+
];
1217

18+
public function setUpdateChannel(string $channel);
1319
public function getUpdateChannel() : string;
1420
public function getRemotePsr4UrlTemplate() : string;
1521
public function getRemoteModulesBaseUrl() : string;

0 commit comments

Comments
 (0)