Skip to content

Commit c99ea2f

Browse files
authored
Create CodebaseInterface.php
1 parent 8d7ba21 commit c99ea2f

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<?php
2+
3+
namespace Frdlweb\Contract\Autoload{
4+
5+
6+
if (!\interface_exists(CodebaseInterface::class, false)) {
7+
interface CodebaseInterface
8+
{
9+
const CHANNEL_LATEST = 'latest';
10+
const CHANNEL_STABLE = 'stable';
11+
const CHANNEL_FALLBACK = 'fallback';
12+
13+
public function getUpdateChannel() : string;
14+
public function getRemotePsr4UrlTemplate() : string;
15+
public function getRemoteModulesBaseUrl() : string;
16+
}
17+
}
18+
}

0 commit comments

Comments
 (0)