HtmlDumper.php 918B

123456789101112131415161718192021222324252627282930
  1. <?php
  2. namespace Illuminate\Support\Debug;
  3. use Symfony\Component\VarDumper\Dumper\HtmlDumper as SymfonyHtmlDumper;
  4. class HtmlDumper extends SymfonyHtmlDumper
  5. {
  6. /**
  7. * Colour definitions for output.
  8. *
  9. * @var array
  10. */
  11. protected $styles = [
  12. 'default' => 'background-color:#fff; color:#222; line-height:1.2em; font-weight:normal; font:12px Monaco, Consolas, monospace; word-wrap: break-word; white-space: pre-wrap; position:relative; z-index:100000',
  13. 'num' => 'color:#a71d5d',
  14. 'const' => 'color:#795da3',
  15. 'str' => 'color:#df5000',
  16. 'cchr' => 'color:#222',
  17. 'note' => 'color:#a71d5d',
  18. 'ref' => 'color:#a0a0a0',
  19. 'public' => 'color:#795da3',
  20. 'protected' => 'color:#795da3',
  21. 'private' => 'color:#795da3',
  22. 'meta' => 'color:#b729d9',
  23. 'key' => 'color:#df5000',
  24. 'index' => 'color:#a71d5d',
  25. ];
  26. }