/** * @param string $title * @param string $key * @return Key */ public function createKeyForUser($user_id, $title, $key) { $data = $this->api('users')->createKeyForUser($user_id, $title, $key); return Key::fromArray($this->getClient(), $data); }
/** * @param string $title * @param string $key * @return Key */ public function addKey($title, $key) { $data = $this->api('projects')->addKey($this->id, $title, $key); return Key::fromArray($this->getClient(), $data); }