public function get_config($property) {
        if (property_exists($this->config, $property)) {
            return $this->config->$property;
        }
        throw new \coding_exception('Config property "' . $property . '" doesn\'t exist');
    }
public function get_config($property) {
        if (property_exists($this->config, $property)) {
            return $this->config->$property;
        }
        throw new \coding_exception('Config property "' . $property . '" doesn\'t exist');
    }
public function get_config ( $ property ) { if ( property_exists ( $ this -> config , $ property ) ) { return $ this -> config -> $ property ; } throw new \ coding_exception ( 'Config property "' . $ property . '" doesn\'t exist' ) ; }
Config get method.

@param string $property config property to get.
@return mixed
@throws \coding_exception
Config get method .