src/GoogleDriveAdapter.php
protected function applyDefaultParams($params, $cmdName)
    {
        if (isset($this->defaultParams[$cmdName]) && is_array($this->defaultParams[$cmdName])) {
            return array_replace($this->defaultParams[$cmdName], $params);
        } else {
            return $params;
        }
    }
protected function applyDefaultParams($params, $cmdName)
    {
        if (isset($this->defaultParams[$cmdName]) && is_array($this->defaultParams[$cmdName])) {
            return array_replace($this->defaultParams[$cmdName], $params);
        } else {
            return $params;
        }
    }
protected function applyDefaultParams ( $ params , $ cmdName ) { if ( isset ( $ this -> defaultParams [ $ cmdName ] ) && is_array ( $ this -> defaultParams [ $ cmdName ] ) ) { return array_replace ( $ this -> defaultParams [ $ cmdName ] , $ params ) ; } else { return $ params ; } }
Apply optional parameters for each command

@param   array   $params   The parameters
@param   string  $cmdName  The command name

@return array

@see https://developers.google.com/drive/v3/reference/files
@see \Google_Service_Drive_Resource_Files
Apply optional parameters for each command