This commit is contained in:
Your Name
2021-07-26 19:46:18 +02:00
parent e7a49138bb
commit aae17f10a6
818 changed files with 70695 additions and 16408 deletions
+20
View File
@@ -0,0 +1,20 @@
<?php
namespace Nuwave\Lighthouse\Console;
use Illuminate\Console\Command;
use Nuwave\Lighthouse\Schema\AST\ASTBuilder;
class CacheCommand extends Command
{
protected $name = 'lighthouse:cache';
protected $description = 'Compile the GraphQL schema and cache it.';
public function handle(ASTBuilder $builder): void
{
$builder->documentAST();
$this->info('GraphQL schema cache created.');
}
}