namespace BookStack\Theming;
use BookStack\Auth\Access\SocialAuthService;
+use Illuminate\Contracts\Console\Kernel;
+use Symfony\Component\Console\Command\Command;
class ThemeService
{
return null;
}
+ /**
+ * Register a new custom artisan command to be available.
+ */
+ public function registerCommand(Command $command)
+ {
+ /** @var \Illuminate\Foundation\Console\Kernel $consoleKernel */
+ $consoleKernel = app()->make(Kernel::class);
+ $consoleKernel->registerCommand($command);
+ }
+
/**
* Read any actions from the set theme path if the 'functions.php' file exists.
*/