SqlFilter
class SqlFilter extends SQLFilter (View source)
A filter to rewrite doctrine queries according to the security policy.
Properties
protected PolicyService | $policyService | ||
protected Context | $securityContext |
Methods
string
addFilterConstraint(ClassMetadata $targetEntity, string $targetTableAlias)
Gets the SQL query part to add to a query.
void
initializeDependencies()
Initializes the dependencies by retrieving them from the object manager
Details
string
addFilterConstraint(ClassMetadata $targetEntity, string $targetTableAlias)
Gets the SQL query part to add to a query.
protected void
initializeDependencies()
Initializes the dependencies by retrieving them from the object manager