You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

50 lines
1.5 KiB

3 years ago
  1. <?php
  2. return [
  3. /*
  4. |--------------------------------------------------------------------------
  5. | Console Commands
  6. |--------------------------------------------------------------------------
  7. |
  8. | This option allows you to add additional Artisan commands that should
  9. | be available within the Tinker environment. Once the command is in
  10. | this array you may execute the command in Tinker using its name.
  11. |
  12. */
  13. 'commands' => [
  14. // App\Console\Commands\ExampleCommand::class,
  15. ],
  16. /*
  17. |--------------------------------------------------------------------------
  18. | Auto Aliased Classes
  19. |--------------------------------------------------------------------------
  20. |
  21. | Tinker will not automatically alias classes in your vendor namespaces
  22. | but you may explicitly allow a subset of classes to get aliased by
  23. | adding the names of each of those classes to the following list.
  24. |
  25. */
  26. 'alias' => [
  27. //
  28. ],
  29. /*
  30. |--------------------------------------------------------------------------
  31. | Classes That Should Not Be Aliased
  32. |--------------------------------------------------------------------------
  33. |
  34. | Typically, Tinker automatically aliases classes as you require them in
  35. | Tinker. However, you may wish to never alias certain classes, which
  36. | you may accomplish by listing the classes in the following array.
  37. |
  38. */
  39. 'dont_alias' => [
  40. 'App\Nova',
  41. ],
  42. ];