Kint.php 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. <?php
  2. namespace Config;
  3. use Kint\Parser\ConstructablePluginInterface;
  4. use Kint\Renderer\Rich\TabPluginInterface;
  5. use Kint\Renderer\Rich\ValuePluginInterface;
  6. /**
  7. * --------------------------------------------------------------------------
  8. * Kint
  9. * --------------------------------------------------------------------------
  10. *
  11. * We use Kint's `RichRenderer` and `CLIRenderer`. This area contains options
  12. * that you can set to customize how Kint works for you.
  13. *
  14. * @see https://kint-php.github.io/kint/ for details on these settings.
  15. */
  16. class Kint
  17. {
  18. /*
  19. |--------------------------------------------------------------------------
  20. | Global Settings
  21. |--------------------------------------------------------------------------
  22. */
  23. /**
  24. * @var list<class-string<ConstructablePluginInterface>|ConstructablePluginInterface>|null
  25. */
  26. public $plugins;
  27. public int $maxDepth = 6;
  28. public bool $displayCalledFrom = true;
  29. public bool $expanded = false;
  30. /*
  31. |--------------------------------------------------------------------------
  32. | RichRenderer Settings
  33. |--------------------------------------------------------------------------
  34. */
  35. public string $richTheme = 'aante-light.css';
  36. public bool $richFolder = false;
  37. /**
  38. * @var array<string, class-string<ValuePluginInterface>>|null
  39. */
  40. public $richObjectPlugins;
  41. /**
  42. * @var array<string, class-string<TabPluginInterface>>|null
  43. */
  44. public $richTabPlugins;
  45. /*
  46. |--------------------------------------------------------------------------
  47. | CLI Settings
  48. |--------------------------------------------------------------------------
  49. */
  50. public bool $cliColors = true;
  51. public bool $cliForceUTF8 = false;
  52. public bool $cliDetectWidth = true;
  53. public int $cliMinWidth = 40;
  54. }