function __construct($config, $name, $parentId = 0, $talkPower = 0, $joinPower = 0) { parent::__construct($config); $this->name = $name; $this->parentId = $parentId; $this->talkPower = $talkPower; $this->joinPower = $joinPower; }
/** * @param $workingDir * @param $target */ public function __construct($name, $workingDir, $target) { $this->target = $target; parent::__construct($name, $workingDir); }
function __construct($config, $clientId, $channelId) { parent::__construct($config); $this->clientId = $clientId; $this->channelId = $channelId; }
function __construct($config, $clientId, $enable) { parent::__construct($config); $this->clientId = $clientId; $this->enable = $enable; }