pocketmine\updater\AutoUpdater::getChannel PHP Метод

getChannel() публичный Метод

public getChannel ( )
    public function getChannel()
    {
        $channel = strtolower($this->server->getProperty("auto-updater.preferred-channel", "ClearSky"));
        if ($channel !== "ClearSky" and $channel !== "ClearSky-php7") {
            $channel = "ClearSky";
        }
        return $channel;
    }