lib/SimpleConfig/Container.php
public function offsetGet($field) {
        if (isset($this->values[$field]) || $this->load($field)) {
            return $this->values[$field];
        }

        return NULL;
    }
public function offsetGet($field) {
        if (isset($this->values[$field]) || $this->load($field)) {
            return $this->values[$field];
        }

        return NULL;
    }
public function offsetGet ( $ field ) { if ( isset ( $ this -> values [ $ field ] ) || $ this -> load ( $ field ) ) { return $ this -> values [ $ field ] ; } return NULL ; }
Retrieves a config value. If there is none, it will attempt to run a factory, if available.

@param mixed $field
@return mixed
Retrieves a config value . If there is none it will attempt to run a factory if available .