SDK for PHP 3.x

AbstractRule
in package

AbstractYes

A rule within a rule set. All rules contain a conditions property, which can be empty, and documentation about the rule.

Table of Contents

Methods

__construct()  : mixed
evaluate()  : mixed
getConditions()  : array<string|int, mixed>
getDocumentation()  : mixed

Methods

__construct()

public __construct(array<string|int, mixed> $definition) : mixed
Parameters
$definition : array<string|int, mixed>

evaluate()

public abstract evaluate(array<string|int, mixed> $inputParameters, RulesetStandardLibrary $standardLibrary) : mixed
Parameters
$inputParameters : array<string|int, mixed>
$standardLibrary : RulesetStandardLibrary

getConditions()

public getConditions() : array<string|int, mixed>
Return values
array<string|int, mixed>

getDocumentation()

public getDocumentation() : mixed
On this page