getCapabilities() : array
Function an app uses to return the capabilities
Array containing the apps capabilities
Minimal interface that has to be implemented for a class to be considered a capability.
In an application use: $this->getContainer()->registerCapability('OCA\MY_APP\Capabilities'); To register capabilities.
The class 'OCA\MY_APP\Capabilities' must then implement ICapability