Ejemplo n.º 1
0
 public function listen(Manager $manager)
 {
     $manager->listen('\\OC\\User', 'postDelete', [$this->userMountCache, 'removeUserMounts']);
 }
Ejemplo n.º 2
0
 /**
  * @param string $scope
  * @param string $method
  * @param callable $callback
  */
 public function listen($scope, $method, $callback)
 {
     $this->manager->listen($scope, $method, $callback);
 }