芝麻web文件管理V1.00
编辑当前文件:/home/mgatv524/public_html/midiatech/vendor/league/event/src/CallbackListener.php
callback = $callback; } /** * Get the callback. * * @return callable */ public function getCallback() { return $this->callback; } /** * @inheritdoc */ public function handle(EventInterface $event) { call_user_func_array($this->callback, func_get_args()); } /** * @inheritdoc */ public function isListener($listener) { if ($listener instanceof CallbackListener) { $listener = $listener->getCallback(); } return $this->callback === $listener; } /** * Named constructor * * @param callable $callable * * @return static */ public static function fromCallable(callable $callable) { return new static($callable); } }