PHP Interface Kraken\Runtime\RuntimeContextInterface

Show file Open project: kraken-php/framework

Public Methods

Method Description
getAlias ( ) : string Return alias of current container.
getArgs ( ) : string[] Return context arguments passed to runtime on construction.
getName ( ) : string Return name or class of current container.
getParent ( ) : string | null Return parent alias or null if current RuntimeContainer is root.
getType ( ) : string Return type of RuntimeContainer.

Method Details

getAlias() public method

Return alias of current container.
public getAlias ( ) : string
return string

getArgs() public method

Return context arguments passed to runtime on construction.
public getArgs ( ) : string[]
return string[]

getName() public method

Return name or class of current container.
public getName ( ) : string
return string

getParent() public method

Return parent alias or null if current RuntimeContainer is root.
public getParent ( ) : string | null
return string | null

getType() public method

This method returns one of: Runtime::UNIT_PROCESS, Runtime::UNIT_THREAD, Runtime::UNIT_UNDEFINED.
public getType ( ) : string
return string