Property | Type | Description | |
---|---|---|---|
$model | Kraken\Runtime\RuntimeModelInterface |
Method | Description | |
---|---|---|
__construct ( string $parent, string $alias, string $name, string[] $args = [] ) | ||
__destruct ( ) | ||
create ( ) | ||
destroy ( ) | ||
fail ( $ex, $params = [] ) | ||
getAlias ( ) | ||
getArgs ( ) | ||
getCore ( ) | ||
getHash ( ) | ||
getLoop ( ) | ||
getManager ( ) | ||
getModel ( ) | ||
getName ( ) | ||
getParent ( ) | ||
getState ( ) | ||
getType ( ) | ||
internalBoot ( Kraken\Core\CoreInterface $core ) : Kraken\Runtime\RuntimeContainerInterface | ||
internalConfig ( Kraken\Core\CoreInterface $core ) : array | ||
internalConstruct ( Kraken\Core\CoreInterface $core ) : Kraken\Runtime\RuntimeContainerInterface | ||
isCreated ( ) | ||
isDestroyed ( ) | ||
isFailed ( ) | ||
isStarted ( ) | ||
isStopped ( ) | ||
onAfterCreate ( callable $callback ) | ||
onAfterDestroy ( callable $callback ) | ||
onAfterStart ( callable $callback ) | ||
onAfterStop ( callable $callback ) | ||
onBeforeCreate ( callable $callback ) | ||
onBeforeDestroy ( callable $callback ) | ||
onBeforeStart ( callable $callback ) | ||
onBeforeStop ( callable $callback ) | ||
onCreate ( callable $callback ) | ||
onDestroy ( callable $callback ) | ||
onStart ( callable $callback ) | ||
onStop ( callable $callback ) | ||
setCore ( Kraken\Core\CoreInterface $core = null ) | ||
start ( ) | ||
stop ( ) | ||
succeed ( ) |
Method | Description | |
---|---|---|
boot ( Kraken\Core\CoreInterface $core ) : Kraken\Runtime\RuntimeContainerInterface | This method will be called on container boot. It should contain tweaks to services and providers. | |
config ( Kraken\Core\CoreInterface $core ) : array | This method will be called before container boot. It should contain and return additional configurations. | |
construct ( Kraken\Core\CoreInterface $core ) : Kraken\Runtime\RuntimeContainerInterface | This method will be called on container construction. It should contain logic to be fired after booting up. |
protected boot ( Kraken\Core\CoreInterface $core ) : Kraken\Runtime\RuntimeContainerInterface | ||
$core | Kraken\Core\CoreInterface | |
return | Kraken\Runtime\RuntimeContainerInterface |
protected construct ( Kraken\Core\CoreInterface $core ) : Kraken\Runtime\RuntimeContainerInterface | ||
$core | Kraken\Core\CoreInterface | |
return | Kraken\Runtime\RuntimeContainerInterface |
public internalBoot ( Kraken\Core\CoreInterface $core ) : Kraken\Runtime\RuntimeContainerInterface | ||
$core | Kraken\Core\CoreInterface | |
return | Kraken\Runtime\RuntimeContainerInterface |
public internalConfig ( Kraken\Core\CoreInterface $core ) : array | ||
$core | Kraken\Core\CoreInterface | |
return | array |
public internalConstruct ( Kraken\Core\CoreInterface $core ) : Kraken\Runtime\RuntimeContainerInterface | ||
$core | Kraken\Core\CoreInterface | |
return | Kraken\Runtime\RuntimeContainerInterface |
public setCore ( Kraken\Core\CoreInterface $core = null ) | ||
$core | Kraken\Core\CoreInterface |