src/Services/NestableService.php
public function save(array $params)
    {
        foreach ($params as $method => $param) {
            if (is_array($param) && isset($param[0])) {
                call_user_func_array([$this, $method], $param);
            } else {
                $this->{$method}($param);
            }
        }
    }
public function save(array $params)
    {
        foreach ($params as $method => $param) {
            if (is_array($param) && isset($param[0])) {
                call_user_func_array([$this, $method], $param);
            } else {
                $this->{$method}($param);
            }
        }
    }
public function save ( array $ params ) { foreach ( $ params as $ method => $ param ) { if ( is_array ( $ param ) && isset ( $ param [ 0 ] ) ) { call_user_func_array ( [ $ this , $ method ] , $ param ) ; } else { $ this -> { $ method } ( $ param ) ; } } }
Save the parameters.

@param array $params
Save the parameters .