ConditionFundamentals
abstract class ConditionFundamentals (View source)
Common code for all implementations of the entity query condition interfaces.
Properties
| protected array | $conditions | Array of conditions. |
|
| protected string | $conjunction | The conjunction of this condition group. |
|
| protected QueryInterface | $query | The query this condition belongs to. |
|
| protected array | $namespaces | List of potential namespaces of the classes belonging to this condition. |
Methods
__construct(string $conjunction, QueryInterface $query, array $namespaces = [])
Constructs a Condition object.
getConjunction()
{@inheritdoc}
count()
{@inheritdoc}
conditions()
{@inheritdoc}
__clone()
Implements the magic __clone function.
Details
__construct(string $conjunction, QueryInterface $query, array $namespaces = [])
Constructs a Condition object.
getConjunction()
{@inheritdoc}
count()
{@inheritdoc}
conditions()
{@inheritdoc}
__clone()
Implements the magic __clone function.
Makes sure condition groups are cloned as well.