Nextcloud PHP API (master)

Consumable extends ASince
in package

Attribute to declare that the API stability is limited to "consuming" the class, interface, enum, etc. Apps are not allowed to implement or replace them.

For events use @see \OCP\AppFramework\Attribute\Listenable For exceptions use @see \OCP\AppFramework\Attribute\Catchable

Tags
since
32.0.0
Attributes
#[Attribute]
\Attribute::TARGET_ALL | \Attribute::IS_REPEATABLE
#[Consumable]
$since: '32.0.0'
#[Implementable]
$since: '32.0.0'

Table of Contents

Properties

$since  : string

Methods

__construct()  : mixed
getSince()  : string

Properties

Methods

__construct()

public __construct(string $since) : mixed
Parameters
$since : string

For shipped apps and server code such as core/ and lib/, this should be the server version. For other apps it should be the semantic app version.

getSince()

public getSince() : string
Return values
string

        
On this page

Search results