src/WebService.php
public function setParamByKey($key, $value){

         if( array_key_exists( $key, array_dot( $this->service['param'] ) ) ){

             array_set($this->service['param'], $key, $value);
         }

         return $this;
    }
public function setParamByKey($key, $value){

         if( array_key_exists( $key, array_dot( $this->service['param'] ) ) ){

             array_set($this->service['param'], $key, $value);
         }

         return $this;
    }
public function setParamByKey ( $ key , $ value ) { if ( array_key_exists ( $ key , array_dot ( $ this -> service [ 'param' ] ) ) ) { array_set ( $ this -> service [ 'param' ] , $ key , $ value ) ; } return $ this ; }
Set parameter by key
@param string $key
@param string $value
@return $this
Set parameter by key