Install Report Builder
Report Metadata
Examples

Symfony2/Doctrine Report Builder - Ignored Metadata

In situations where a property or class should not be visible to an end user, we can add the ignored metadata. As an example, on a user entity it would not make sense to have a password as a visible report field. In this case you would add the ignored metadata.

Annotation
/**
 * User
 *
 * @ORM\Table()
 * @ORM\Entity(repositoryClass="Brown298\DtTestBundle\Entity\Repository\UserRepository")
 */
class User
{
...
    /**
     * @var string
     *
     * @ORM\Column(name="password", type="string", length=255)
     * @Report\Ignored()
     */
    private $password;
...
}
Yml
Brown298\ReportTest\Entity\User:
    Report:
        Properties:
            password:
                Ignored: ~