for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace OCA\Circles\Hooks;
use OCA\Circles\AppInfo\Application;
class UserHooks {
static protected function getController() {
static
$app = new Application();
return $app->getContainer()
->query('UserEvents');
}
public static function onUserCreated($params) {
self::getController()
->onUserCreated($params);
public static function onUserDeleted($params) {
->onUserDeleted($params);