Fire off the handler.

@param \Aindong\Pluggables\Console\PluggableMakeCommand $console
@param string                                           $slug

@return bool
181553
public function fire(Command $console, $slug)
    {
        $this->console = $console;
        $this->slug = strtolower($slug);
        $this->name = Str::studly($slug);

        if ($this->pluggable->exists($this->slug)) {
            $console->comment('Pluggable [{$this->name}] already exists.');

            return false;
        }

        $this->generate($console);
    }
950461
public function handle()
    {
        $consoleKernel = app(\Illuminate\Contracts\Console\Kernel::class);

        $consoleKernel->call('laradox:transform');

        if (app()->environment() !== 'production') {
            $consoleKernel->call('ide-helper:generate');
            $consoleKernel->call('ide-helper:models', ['-q']);
            $consoleKernel->call('ide-helper:meta');
        }
        
        if (isset($consoleKernel->all()['data-structure:generate'])) {
            $consoleKernel->call('data-structure:generate');
        }
    }
1127112
public function fire(Command $command)
    {
        $this->command = $command;

        if ($command->option('verbose')) {
            $command->blockMessage('User', 'Creating Admin User...', 'comment');
        }

        $this->seedAdminRole();
        $this->createFirstUser();
    }
818004
public function fire($event, $payload=[], $halt=false)
    {
        return $this->dispatcher->fire($event, $payload, $halt);
    }
93520
public function destroy($slug):Manager
    {
        $cartProducts = $this->getSession();
        $cartProducts->pull($slug);

        return $this;
    }
1342272
public function fire($uuid, $ip, $location, $referrer, array $extra = [])
    {
        $visit = $this->factoryVisit($uuid, $ip, $location, $referrer, $extra);

        $visit->save();
    }
518188
public function fire()
	{
		$name = $this->option( 'name' );
		if( is_null( $name ) ) {
			return $this->error( 'no name entered (artisan ensphere:make contract --name="my contract name"' );
		}
		switch( $this->argument( 'make_command' ) ) {
			case 'contract' :
				(new ContractCommand)->make( $this->option( 'name' ) );
			break;
			case 'controller' :
				(new ControllerCommand)->make( $this->option( 'name' ) );
			break;
		}
	}
705619
public function fire($event, NotificationsBag $notificationBag, Message $message)
    {
        if (!isset(static::$dispatcher)) {
            return true;
        }

        $event = "notification.{$event}: ".$notificationBag->getName();

        return static::$dispatcher->fire($event, array($this, $notificationBag, $message));
    }
588206
public function handle()
    {
        $slug = $this->argument('slug');

        if (modules($this->option('location'))->isDisabled($slug)) {
            modules($this->option('location'))->enable($slug);

            $module = modules($this->option('location'))->where('slug', $slug);

            event($slug.'.module.enabled', [$module, null]);

            $this->info('Module was enabled successfully.');
        } else {
            $this->comment('Module is already enabled.');
        }
    }
68155
public function fire()
    {
        $pluggables = $this->pluggable->all();

        if (count($pluggables) == 0) {
            return $this->error("Your application doesn't have any pluggables.");
        }

        $this->displayPluggables($this->getPluggables());
    }
268216
public function onConsoleTerminate(ConsoleTerminateEvent $event)
    {
        $call = $this->callRepository->find($_REQUEST['call_id']);

        if (!$call->getStatus()) {
            $call->setStatus(Call::STATUS_SUCCESS);
        }

        if ($event->getExitCode()) {
            $call->setStatus(Call::STATUS_ABORTED);
            $call->setOutput(sprintf('Command finished with exit code: %s', $event->getExitCode()));

            $this->registerError($call);
        }

        $call->setFinishedAt(new \DateTime());
        $call->setExecutionTime($call->getExecutionTime());
        $this->callRepository->update($call);

        $this->processRepository->countAvgExecutionTime($call->getProcess(), $call->getExecutionTime());
        $this->processRepository->update($call->getProcess());
    }
1293646
public function handle(PipeMessageEventParam $e)
    {
        if('app.inited' === $e->message && 0 === $e->workerID)
        {
            while(!Worker::isInited())
            {
                Coroutine::sleep(0.01);
            }

            if(isset($GLOBALS['WORKER_START_END_RESUME_COIDS']))
            {
                foreach($GLOBALS['WORKER_START_END_RESUME_COIDS'] as $id)
                {
                    Coroutine::resume($id);
                }
                unset($GLOBALS['WORKER_START_END_RESUME_COIDS']);
            }

            $e->stopPropagation();
        }
    }
605341
public function deleteBrickBySlug($slug)
    {
        $bricks = $this->repository->bricks;
        foreach ($bricks as $key => $brickObject) {
            if ($brickObject->slug == $slug) {
                unset($bricks[$key]);
            }
        }

        $bricks = array_values($bricks);
        $this->repository->bricks = $bricks;
        $this->save();
    }
1156954
public function fire(string $event, ...$args): void
    {
        if (!isset(self::$events[$event])) {
            return;
        }

        // call event handlers of the event.
        foreach ((array)self::$eventHandlers[$event] as $cb) {
            // return FALSE to stop go on handle.
            if (false === PhpHelper::call($cb, ...$args)) {
                break;
            }
        }

        // is a once event, remove it
        if (self::$events[$event]) {
            $this->off($event);
        }
    }
426696
public function fire()
	{
		if($this->accessTokenRepo instanceof PurgeExpiredInterface) {
			$this->info("Purging expired AccessTokens");
			$this->accessTokenRepo->purgeExpired();
		} else {
			$this->info("Skipping AccessTokenRepository, Must implement PurgeExpiredInterface");
		}

		if($this->authCodeRepo instanceof PurgeExpiredInterface) {
			$this->info("Purging expired AuthorizationCodes");
			$this->authCodeRepo->purgeExpired();
		} else {
			$this->info("Skipping AuthorizationCodeRepository, Must implement PurgeExpiredInterface");
		}

		if($this->refreshTokenRepo instanceof PurgeExpiredInterface) {
			$this->info("Purging expired RefreshTokens");
			$this->refreshTokenRepo->purgeExpired();
		} else {
			$this->info("Skipping RefreshTokenRepository, Must implement PurgeExpiredInterface");
		}
	}
945324
public function onSlugCompletion(SluggableAdapter $ea, array &$config, $object, &$slug): void
    {
        // If this is on the blacklist append a "-0".
        if (in_array($slug, $this->used_options['blacklist'])) {
            $slug .= '-0';
        }
    }
136966
public function deleteImageSetBySlug($slug)
    {
        $imageSet = $this->getImageSet();

        foreach ($imageSet as $key => $set) {
            if ($set->slug == $slug) {
                unset($imageSet[$key]);
            }
        }
        $imageSet = array_values($imageSet);
        $this->repository->imageSet = $imageSet;
        $this->save();
    }