legacyemitter.php 431 B

1234567891011121314151617
  1. <?php
  2. /**
  3. * Copyright (c) 2013 Robin Appelman <icewind@owncloud.com>
  4. * This file is licensed under the Affero General Public License version 3 or
  5. * later.
  6. * See the COPYING-README file.
  7. */
  8. namespace OC\Hooks;
  9. abstract class LegacyEmitter extends BasicEmitter {
  10. protected function emit($scope, $method, $arguments = array()) {
  11. \OC_Hook::emit($scope, $method, $arguments);
  12. parent::emit($scope, $method, $arguments);
  13. }
  14. }