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
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
$since
protected
string
$since
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