class ConditionFactory (View source)

Check against the current url

Constants

NEGATE_CONDITION_PREFIX

Methods

__construct(array $condition_types)

Constructor.

make(string|array|Closure $options)

Create a new condition.

Details

__construct(array $condition_types)

Constructor.

Parameters

array $condition_types string> $condition_types

ConditionInterface make(string|array|Closure $options)

Create a new condition.

Parameters

string|array|Closure $options

Return Value

ConditionInterface

Exceptions

Exception
InvalidRouteConditionException