You are here

xhprof.services.yml in XHProf 8

File

xhprof.services.yml
View source
  1. services:
  2. xhprof.file_storage:
  3. class: Drupal\xhprof\XHProfLib\Storage\FileStorage
  4. tags:
  5. - { name: xhprof_storage }
  6. xhprof.storage:
  7. class: Drupal\xhprof\XHProfLib\Storage\StorageInterface
  8. factory: Drupal\xhprof\StorageFactory::getStorage
  9. arguments: ['@config.factory', '@service_container']
  10. xhprof.storage_manager:
  11. class: Drupal\xhprof\XHProfLib\Storage\StorageManager
  12. xhprof.report_engine:
  13. class: Drupal\xhprof\XHProfLib\Report\ReportEngine
  14. xhprof.matcher:
  15. class: Drupal\xhprof\RequestMatcher\XHProfRequestMatcher
  16. arguments: ['@config.factory', '@path.matcher']
  17. xhprof.profiler:
  18. class: Drupal\xhprof\Profiler
  19. arguments: ['@config.factory', '@xhprof.storage', '@xhprof.matcher']
  20. xhprof.xhprof_event_subscriber:
  21. class: Drupal\xhprof\EventSubscriber\XHProfEventSubscriber
  22. arguments: ['@xhprof.profiler', '@current_user', '@module_handler']
  23. tags:
  24. - { name: event_subscriber }
  25. xhprof.run_converter:
  26. class: Drupal\xhprof\Routing\RunConverter
  27. arguments: ['@xhprof.profiler']
  28. tags:
  29. - { name: paramconverter }