프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$model | Kraken\Runtime\RuntimeModelInterface |
메소드 | 설명 | |
---|---|---|
__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 ( ) |
메소드 | 설명 | |
---|---|---|
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 | |
리턴 | Kraken\Runtime\RuntimeContainerInterface |
protected construct ( Kraken\Core\CoreInterface $core ) : Kraken\Runtime\RuntimeContainerInterface | ||
$core | Kraken\Core\CoreInterface | |
리턴 | Kraken\Runtime\RuntimeContainerInterface |
public internalBoot ( Kraken\Core\CoreInterface $core ) : Kraken\Runtime\RuntimeContainerInterface | ||
$core | Kraken\Core\CoreInterface | |
리턴 | Kraken\Runtime\RuntimeContainerInterface |
public internalConfig ( Kraken\Core\CoreInterface $core ) : array | ||
$core | Kraken\Core\CoreInterface | |
리턴 | array |
public internalConstruct ( Kraken\Core\CoreInterface $core ) : Kraken\Runtime\RuntimeContainerInterface | ||
$core | Kraken\Core\CoreInterface | |
리턴 | Kraken\Runtime\RuntimeContainerInterface |
public setCore ( Kraken\Core\CoreInterface $core = null ) | ||
$core | Kraken\Core\CoreInterface |