SimpleAttributeContentTest
class SimpleAttributeContentTest implements TestInterface (View source)
Traits
Helpful search methods
Properties
protected EntityManager | $entityManager |
Methods
Take a query object and add "or having" or "and having" for each filter on the Report This object gives us one place to implement new types of filters added to the Report class
Take a query and paginate over it in chunks defined by $perPage You can iterate over the return value and expect to receive all rows one by one.
Audit a dbal table or set of tables
No description
Details
protected bool
applyQueryFilters(Runner $report, QueryBuilder|QueryBuilder $query, bool $having = true, string $filterColumn = 'content')
Take a query object and add "or having" or "and having" for each filter on the Report This object gives us one place to implement new types of filters added to the Report class
protected iterable
iterateQuery($query, int $perPage = 1000)
Take a query and paginate over it in chunks defined by $perPage You can iterate over the return value and expect to receive all rows one by one.
protected
auditDbal(Runner $report, string $table, string $idSelect, array $scanColumns, array $joins, callable $findingPopulator)
Audit a dbal table or set of tables
__construct(EntityManager $entityManager)
No description
void
run(Runner $report)
No description