<?php class_uses(object|string $object_or_class, bool $autoload = true): array|false
<?php $app = parent::getApplication(); foreach ($app->all() as $command) { if (! in_array(RunsInPlease::class, class_uses($command))) { $command->setHidden(true); } }
<?php { $command = $this->laravel->make($command); if (! in_array(RunsInPlease::class, class_uses($command))) { $this->deferredCommands[] = $command; return;