get_class($handler[0])]; if (!empty($this->args)) { $class = array_merge($class, $this->args); } var_dump($this->service, $class); Snowflake::set($this->service, $class); if ($this->async_reload === true) { $event = Snowflake::app()->getEvent(); $event->on(Event::SERVER_WORKER_EXIT, [$this, 'clear']); } return parent::execute($handler); // TODO: Change the autogenerated stub } public function clear() { Snowflake::app()->remove($this->service); } }