Свойство | Тип | Описание | |
---|---|---|---|
$channel | Kraken\Channel\ChannelInterface | ||
$data | mixed | ||
$fs | Kraken\Filesystem\FilesystemInterface | ||
$fsPath | string | ||
$projectName | string | ||
$projectRoot | string | ||
$runtime | Kraken\Runtime\RuntimeContainerInterface | ||
$scriptRoot | string | ||
$system | Kraken\Util\System\SystemInterface |
Метод | Описание | |
---|---|---|
__construct ( Kraken\Runtime\RuntimeContainerInterface $runtime, Kraken\Channel\ChannelInterface $channel, Kraken\Util\System\SystemInterface $system, Kraken\Filesystem\FilesystemInterface $fs ) | ||
__destruct ( ) | ||
allocateProject ( string $alias, string $name, string $pid ) : boolean | Allocate project data. | |
createProject ( $flags = Runtime::CREATE_DEFAULT ) | ||
destroyProject ( $flags = Runtime::DESTROY_FORCE_SOFT ) | ||
existsProject ( ) | ||
freeProject ( ) : boolean | Flush project data. | |
getProjectName ( ) | ||
getProjectRoot ( ) | ||
setProjectName ( $name ) | ||
setProjectRoot ( $root ) | ||
startProject ( ) | ||
stopProject ( ) |
Метод | Описание | |
---|---|---|
createRequest ( Kraken\Channel\ChannelInterface $channel, string $receiver, string $command ) : |
Create Request. |
Метод | Описание | |
---|---|---|
getEmptyStorage ( ) | ||
phpCommand ( string $command, string[] $params = [] ) : string | Run external PHP script. | |
selectFromStorage ( ) : mixed | Copy data from persistent storage to temporary one. | |
updateStorage ( string[] $with = [] ) | Copy temporary project data to persistent storage. |
public __construct ( Kraken\Runtime\RuntimeContainerInterface $runtime, Kraken\Channel\ChannelInterface $channel, Kraken\Util\System\SystemInterface $system, Kraken\Filesystem\FilesystemInterface $fs ) | ||
$runtime | Kraken\Runtime\RuntimeContainerInterface | |
$channel | Kraken\Channel\ChannelInterface | |
$system | Kraken\Util\System\SystemInterface | |
$fs | Kraken\Filesystem\FilesystemInterface |
protected createRequest ( Kraken\Channel\ChannelInterface $channel, string $receiver, string $command ) : |
||
$channel | Kraken\Channel\ChannelInterface | |
$receiver | string | |
$command | string | |
Результат |
public freeProject ( ) : boolean | ||
Результат | boolean |
protected ChannelInterface,Kraken\Channel $channel | ||
Результат | Kraken\Channel\ChannelInterface |
protected FilesystemInterface,Kraken\Filesystem $fs | ||
Результат | Kraken\Filesystem\FilesystemInterface |
protected RuntimeContainerInterface,Kraken\Runtime $runtime | ||
Результат | Kraken\Runtime\RuntimeContainerInterface |