public function createAuthorIfNotExistsFor($authorMapper, $name = null) { $params = array(); $params['authorMapper'] = $authorMapper; if (isset($name)) { $params['name'] = $name; } return $this->post("createAuthorIfNotExistsFor", $params); }