Skip to content

Commit cbb6665

Browse files
authored
Create AdvancedWebAppInterface.php
1 parent 2a8b902 commit cbb6665

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
<?php
2+
namespace Frdlweb;
3+
4+
interface AdvancedWebAppInterface extends WebAppInterface
5+
{
6+
//public function findAppDir(string $userdir = null, $create = false);
7+
public function getDir(string $type = null, $create = true) : string;
8+
public function getFile(string $path, string $type = null) : string;
9+
public function getStub(): ?StubHelperInterface;
10+
public function setStub(?StubHelperInterface $stubHelper = null) : AppInterface;
11+
public function getSources(string $userdir = null, $create = false) : array;
12+
public function getWebUriBase() : string | bool;
13+
public static function getInstance(string $env = null, string $dir = null): AppInterface;
14+
public static function mutex(): AppInterface;
15+
public function getAppId() : string;
16+
public function mount(): AppInterface;
17+
public function setAppId(string $appId = '1.3.6.1.4.1.37553.8.1.8.8.1958965301') : ?AppInterface;
18+
public function tick(
19+
string|\callable|\closure $script = null,
20+
array $contextArgs = null,
21+
int $flags = \EXTR_OVERWRITE,
22+
string $prefix = ""
23+
);
24+
public function onError($number = null, $message = null, $file = nulle, $line = null, $errcontext = null);
25+
public function exception_handler(\Exception $exception);
26+
public function main(string $alias = null);
27+
}

0 commit comments

Comments
 (0)