class ConditionGenerator (View source)

A condition generator used as an eel context to orchestrate the different sql condition generators.

Properties

protected string $entityType

Entity type the currently parsed expression relates to

Methods

void
isType($entityType)

No description

property(string $path)

No description

string
getEntityType()

No description

Details

void isType($entityType)

No description

Parameters

$entityType

Return Value

void

Exceptions

InvalidPolicyException

NotExpressionGenerator notExpression(SqlGeneratorInterface $expression)

No description

Parameters

SqlGeneratorInterface $expression

Return Value

NotExpressionGenerator

ConjunctionGenerator conjunction()

No description

Return Value

ConjunctionGenerator

DisjunctionGenerator disjunction()

No description

Return Value

DisjunctionGenerator

PropertyConditionGenerator property(string $path)

No description

Parameters

string $path

The property path

Return Value

PropertyConditionGenerator

string getEntityType()

No description

Return Value

string