Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

ide-helper.php 2.7KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. <?php
  2. return array(
  3. /*
  4. |--------------------------------------------------------------------------
  5. | Filename & Format
  6. |--------------------------------------------------------------------------
  7. |
  8. | The default filename (without extension) and the format (php or json)
  9. |
  10. */
  11. 'filename' => '_ide_helper',
  12. 'format' => 'php',
  13. /*
  14. |--------------------------------------------------------------------------
  15. | Helper files to include
  16. |--------------------------------------------------------------------------
  17. |
  18. | Include helper files. By default not included, but can be toggled with the
  19. | -- helpers (-H) option. Extra helper files can be included.
  20. |
  21. */
  22. 'include_helpers' => false,
  23. 'helper_files' => array(
  24. base_path().'/vendor/laravel/framework/src/Illuminate/Support/helpers.php',
  25. ),
  26. /*
  27. |--------------------------------------------------------------------------
  28. | Model locations to include
  29. |--------------------------------------------------------------------------
  30. |
  31. | Define in which directories the ide-helper:models command should look
  32. | for models.
  33. |
  34. */
  35. 'model_locations' => array(
  36. 'app',
  37. ),
  38. /*
  39. |--------------------------------------------------------------------------
  40. | Extra classes
  41. |--------------------------------------------------------------------------
  42. |
  43. | These implementations are not really extended, but called with magic functions
  44. |
  45. */
  46. 'extra' => array(
  47. 'Eloquent' => array('Illuminate\Database\Eloquent\Builder', 'Illuminate\Database\Query\Builder'),
  48. 'Session' => array('Illuminate\Session\Store'),
  49. ),
  50. 'magic' => array(
  51. 'Log' => array(
  52. 'debug' => 'Monolog\Logger::addDebug',
  53. 'info' => 'Monolog\Logger::addInfo',
  54. 'notice' => 'Monolog\Logger::addNotice',
  55. 'warning' => 'Monolog\Logger::addWarning',
  56. 'error' => 'Monolog\Logger::addError',
  57. 'critical' => 'Monolog\Logger::addCritical',
  58. 'alert' => 'Monolog\Logger::addAlert',
  59. 'emergency' => 'Monolog\Logger::addEmergency',
  60. )
  61. ),
  62. /*
  63. |--------------------------------------------------------------------------
  64. | Interface implementations
  65. |--------------------------------------------------------------------------
  66. |
  67. | These interfaces will be replaced with the implementing class. Some interfaces
  68. | are detected by the helpers, others can be listed below.
  69. |
  70. */
  71. 'interfaces' => array(
  72. '\Illuminate\Contracts\Auth\Authenticatable' => config('auth.model', 'App\User'),
  73. )
  74. );