public function update($name, $object);
/** * @return bool */ public function updatePermission() { if ($this->validate()) { $permission = $this->authManager->getPermission($this->name); $permission->description = $this->description; return $this->authManager->update($this->name, $permission); } return false; }