Kraken\Runtime\RuntimeModel::__construct PHP Method

__construct() public method

public __construct ( string $parent, string $alias, string $name, string[] $args = [] )
$parent string
$alias string
$name string
$args string[]
    public function __construct($parent, $alias, $name, $args = [])
    {
        $this->parent = $parent === Runtime::PARENT_UNDEFINED || $parent === Runtime::RESERVED_CONSOLE_SERVER ? null : $parent;
        $this->alias = $alias;
        $this->name = $name;
        $this->args = $args;
        $this->state = Runtime::STATE_DESTROYED;
        $this->core = null;
        $this->manager = null;
        $this->loop = null;
        $this->loopBackup = null;
        $this->loopState = self::LOOP_STATE_STOPPED;
        $this->loopNextState = self::LOOP_STATE_STOPPED;
        $this->supervisor = null;
        $this->eventEmitter = null;
        $this->failureHash = null;
    }