Scalr\Model\Entity\Server::reboot PHP Метод

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

Reboot action
public reboot ( boolean $hard = false )
$hard boolean optional Method: Hard (true) | Soft (false)
    public function reboot($hard = false)
    {
        if ($hard) {
            $DBServer = $this->__getDBServer();
            PlatformFactory::NewPlatform($this->platform)->RebootServer($DBServer, false);
            $this->__getEntityFromDBServer($DBServer);
        } else {
            $this->scalarizr->system->reboot();
        }
    }