Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

1234567891011121314151617181920212223242526272829303132333435
  1. #!/usr/bin/env php
  2. <?php
  3. use Symfony\Component\Console\Input\ArgvInput;
  4. use Symfony\Component\Console\Output\ConsoleOutput;
  5. /*
  6. |--------------------------------------------------------------------------
  7. | Create The Application
  8. |--------------------------------------------------------------------------
  9. |
  10. | First we need to get an application instance. This creates an instance
  11. | of the application / container and bootstraps the application so it
  12. | is ready to receive HTTP / Console requests from the environment.
  13. |
  14. */
  15. $app = require __DIR__.'/bootstrap/app.php';
  16. /*
  17. |--------------------------------------------------------------------------
  18. | Run The Artisan Application
  19. |--------------------------------------------------------------------------
  20. |
  21. | When we run the console application, the current CLI command will be
  22. | executed in this console and the response sent back to a terminal
  23. | or another output device for the developers. Here goes nothing!
  24. |
  25. */
  26. $kernel = $app->make(
  27. 'Illuminate\Contracts\Console\Kernel'
  28. );
  29. exit($kernel->handle(new ArgvInput, new ConsoleOutput));