summaryrefslogtreecommitdiffstats
path: root/settings
ModeNameSize
d---------Activity220logstatsplain
-rw-r--r--Application.php5224logstatsplain
d---------BackgroundJobs46logstatsplain
d---------Controller744logstatsplain
-rw-r--r--Hooks.php7140logstatsplain
d---------Mailer49logstatsplain
d---------Middleware50logstatsplain
d---------ajax303logstatsplain
d---------css41logstatsplain
-rw-r--r--help.php2049logstatsplain
d---------img388logstatsplain
d---------js536logstatsplain
d---------l10n5708logstatsplain
-rw-r--r--routes.php6940logstatsplain
d---------templates282logstatsplain
d---------tests / js29logstatsplain
-rw-r--r--users.php5234logstatsplain
$capability) { $c = $capability(); if ($c instanceof ICapability) { $capabilities = array_replace_recursive($capabilities, $c->getCapabilities()); } else { throw new \InvalidArgumentException('The given Capability (' . get_class($c) . ') does not implement the ICapability interface'); } } return $capabilities; } /** * In order to improve lazy loading a closure can be registered which will be called in case * capabilities are actually requested * * $callable has to return an instance of OCP\Capabilities\ICapability * * @param \Closure $callable */ public function registerCapability(\Closure $callable) { array_push($this->capabilities, $callable); } }