Config.php 889 B

12345678910111213141516171819202122232425262728293031
  1. <?php
  2. namespace Illuminate\Support\Facades;
  3. /**
  4. * @method static bool has(string $key)
  5. * @method static mixed get(array|string $key, mixed $default = null)
  6. * @method static array getMany(array $keys)
  7. * @method static void set(array|string $key, mixed $value = null)
  8. * @method static void prepend(string $key, mixed $value)
  9. * @method static void push(string $key, mixed $value)
  10. * @method static array all()
  11. * @method static void macro(string $name, object|callable $macro)
  12. * @method static void mixin(object $mixin, bool $replace = true)
  13. * @method static bool hasMacro(string $name)
  14. * @method static void flushMacros()
  15. *
  16. * @see \Illuminate\Config\Repository
  17. */
  18. class Config extends Facade
  19. {
  20. /**
  21. * Get the registered name of the component.
  22. *
  23. * @return string
  24. */
  25. protected static function getFacadeAccessor()
  26. {
  27. return 'config';
  28. }
  29. }