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');
        }
    }
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');
        }
    }
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' ) ; } }
Sets the current store data
Sets the current store data