public function getParam($name) {
        if (empty($name) || !is_string($name)) {
            throw new \InvalidArgumentException('Paramater name must be not empty string');
        }

        if (isset($this->params[$name]) || array_key_exists($name, $this->params)) {
            return $this->params[$name];
        }
        throw new ConfigurationException(sprintf('Parameter %s doesn\'t exists', $name));
    }
public function getParam($name) {
        if (empty($name) || !is_string($name)) {
            throw new \InvalidArgumentException('Paramater name must be not empty string');
        }

        if (isset($this->params[$name]) || array_key_exists($name, $this->params)) {
            return $this->params[$name];
        }
        throw new ConfigurationException(sprintf('Parameter %s doesn\'t exists', $name));
    }
public function getParam ( $ name ) { if ( empty ( $ name ) || ! is_string ( $ name ) ) { throw new \ InvalidArgumentException ( 'Paramater name must be not empty string' ) ; } if ( isset ( $ this -> params [ $ name ] ) || array_key_exists ( $ name , $ this -> params ) ) { return $ this -> params [ $ name ] ; } throw new ConfigurationException ( sprintf ( 'Parameter %s doesn\'t exists' , $ name ) ) ; }
Returns value gateway param
@param string $name
@return mixed Value of the $name parameter
Returns value gateway param