ConditionFactory
class ConditionFactory (View source)
Check against the current url
Constants
NEGATE_CONDITION_PREFIX |
|
Methods
__construct(array $condition_types)
Constructor.
ConditionInterface|null
merge(string|array|Closure|ConditionInterface|null $old, string|array|Closure|ConditionInterface|null $new)
Merge group condition attribute.
Details
at line 36
__construct(array $condition_types)
Constructor.
at line 46
ConditionInterface
make(string|array|Closure $options)
Create a new condition.
at line 68
ConditionInterface
condition(string|array|Closure|ConditionInterface $value)
Ensure value is a condition.
at line 232
ConditionInterface|null
merge(string|array|Closure|ConditionInterface|null $old, string|array|Closure|ConditionInterface|null $new)
Merge group condition attribute.
at line 253
ConditionInterface
mergeConditions(ConditionInterface $old, ConditionInterface $new)
Merge condition instances.