Skip to content

Commit fc3aba6

Browse files
authored
Create StubInterface.php
1 parent cce54bd commit fc3aba6

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

src/frdlweb/StubInterface.php

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<?php
2+
3+
namespace frdlweb;
4+
5+
interface StubInterface
6+
{
7+
public function init () : void;
8+
public function moduleLocation(?string $location = null);
9+
public function installTo(string $location, bool $forceCreateDirectory = false, $mod = 0755) : object;
10+
public function isIndex(bool $onlyIfFirstFileCall = true) : bool;
11+
public function install(?array $params = [] ) : bool|array;
12+
public function uninstall(?array $params = [] ) : bool|array;
13+
public function setDownloadSource(string $source);
14+
public function get(string $id) : object|bool;
15+
public function setStubIndexPhp(string $id, string $code, ?string $toFile = null) : bool;
16+
public function load(string $file, ?string $as = null) : object;
17+
public function isIndexRequest() : bool;
18+
public function runAsIndex(?bool $showErrorPageReturnBoolean = true) : bool|object;
19+
}

0 commit comments

Comments
 (0)