protected function setStoreProperties()
    {
        $this->current_store = $this->store->get();

        if (isset($this->current_store['store_id'])) {
            $this->store_id = $this->current_store['store_id'];
            $this->is_maintenance = empty($this->current_store['status']) && !$this->access('maintenance');
        }
    }