.. _generator_component:

Component
=========

The component generator creates a report that is comprised of different types of
:doc:`components <../report-components>`.

Options
-------

.. include:: options/_component.rst

Example
-------

Given the following configuration:

.. approved:: ../../examples/Command/report-generators-component
  :language: bash
  :section: 0

When we run PHPBench with the configured report above:


.. approved:: ../../examples/Command/report-generators-component
  :language: bash
  :section: 1

Then it generates all reports:

.. approved:: ../../examples/Command/report-generators-component
  :language: bash
  :section: 2
