src/Store/Config.php
public function reload()
    {
        if ($this->root !== $this) {
            $this->root->reload();
            return;
        }
        if (! isset($this->store)) {
            return;
        }
        if (! $this->store->touch()) {
            return;
        }
        try {
            $this->store->open(false);
            $this->data = $this->store->read();
        } catch (AccessException $e) {
            throw new AccessException('Could not read configration: ' . $e->getMessage(), null, $e);
        }
        $this->store->close();
    }
public function reload()
    {
        if ($this->root !== $this) {
            $this->root->reload();
            return;
        }
        if (! isset($this->store)) {
            return;
        }
        if (! $this->store->touch()) {
            return;
        }
        try {
            $this->store->open(false);
            $this->data = $this->store->read();
        } catch (AccessException $e) {
            throw new AccessException('Could not read configration: ' . $e->getMessage(), null, $e);
        }
        $this->store->close();
    }
public function reload ( ) { if ( $ this -> root !== $ this ) { $ this -> root -> reload ( ) ; return ; } if ( ! isset ( $ this -> store ) ) { return ; } if ( ! $ this -> store -> touch ( ) ) { return ; } try { $ this -> store -> open ( false ) ; $ this -> data = $ this -> store -> read ( ) ; } catch ( AccessException $ e ) { throw new AccessException ( 'Could not read configration: ' . $ e -> getMessage ( ) , null , $ e ) ; } $ this -> store -> close ( ) ; }
Reload configuration document from store.
@throws AccessException If file could not be read.
Reload configuration document from store .