protected function setPlatformState($status)
    {
        $state = new MaintenanceState(array(
            MaintenanceState::STATUS => $status
        ));

        $this->getStorage()->setPlatformState($state);
    }
protected function setPlatformState($status)
    {
        $state = new MaintenanceState(array(
            MaintenanceState::STATUS => $status
        ));

        $this->getStorage()->setPlatformState($state);
    }
protected function setPlatformState ( $ status ) { $ state = new MaintenanceState ( array ( MaintenanceState :: STATUS => $ status ) ) ; $ this -> getStorage ( ) -> setPlatformState ( $ state ) ; }
Update platform state

@param $status
Update platform state