class Conditional implements ExtenderInterface

Properties

protected $conditions

Methods

whenExtensionEnabled(string $extensionId, array $extenders)

No description

when(bool|callable $condition, array $extenders)

No description

extend(Container $container, Extension $extension = null)

No description

Details

Conditional whenExtensionEnabled(string $extensionId, array $extenders)

Parameters

string $extensionId
array $extenders

Return Value

Conditional

Conditional when(bool|callable $condition, array $extenders)

Parameters

bool|callable $condition
array $extenders

Return Value

Conditional

extend(Container $container, Extension $extension = null)

Parameters

Container $container
Extension $extension