summaryrefslogtreecommitdiffstats
path: root/test/exemplars/issue_status_exemplar.rb
blob: 0576568dd9d1d42ccca3a64fb93b935ee8290f3f (plain)
1
2
3
4
class IssueStatus < ActiveRecord::Base
  generator_for :name, :start => 'Status 0'

end
tonge/fix/uid_type Nextcloud server, a safe home for all your data: https://github.com/nextcloud/serverwww-data
aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/Share/IShareProviderSupportsAccept.php
blob: c3a0c2d0218dd06f33b71731f2daac310c3f006e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<?php

/**
 * SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
 * SPDX-License-Identifier: AGPL-3.0-or-later
 */
namespace OCP\Share;

/**
 * Interface IShareProviderSupportsAccept
 *
 * This interface allows to define IShareProvider that can handle the `acceptShare` method,
 * which is available since Nextcloud 17.
 *
 * @since 30.0.0
 */
interface IShareProviderSupportsAccept extends IShareProvider {
	/**
	 * Accept a share.
	 *
	 * @param IShare $share
	 * @param string $recipient
	 * @return IShare The share object
	 * @since 30.0.0
	 */
	public function acceptShare(IShare $share, string $recipient): IShare;
}