Install Report Builder
Report Metadata
Examples

Symfony2/Doctrine Report Builder - Annotation Metadata

One of the more advanced features for the report builder is that we can add metadata information about the entities that can change how the reports work and what information is available. In this section, we will talk about providing this information via annotations. While annotations are the default method of providing this information, it is configurable via configuration:

# config.yml
brown298_report_builder:
    builder:
        metadata_type: annotation

Available Annotations

Class Annotations

  • Ignored: prevents the entity's properties from being displayed
  • Secure: defines roles that are allowed to see the entity.

Property Annotations

  • Ignored: prevents the property from being displayed
  • Secure: defines roles that are allowed to see the property.