\QuickApps\Core\Package\RuleRule

Represents a rule.

Summary

Methods
Properties
Constants
__construct()
lhs()
rhs()
package()
constraint()
__toString()
No public properties found
No constants found
No protected methods found
$_lhs
$_rhs
N/A
No private methods found
No private properties found
N/A

Properties

$_rhs

$_rhs : string

Right hand side of the rule.

Type

string

Methods

__construct()

__construct(\QuickApps\Core\Package\BasePackage|string $lhs, string $rhs)

Constructor.

Parameters

\QuickApps\Core\Package\BasePackage|string $lhs

Left part

string $rhs

Right part

lhs()

lhs() : string

Gets left hand side of the rule.

Returns

string

rhs()

rhs() : string

Gets right hand side of the rule.

Returns

string

package()

package() : string

Alias for lhs().

Returns

string

constraint()

constraint() : string

Alias for rhs().

Returns

string

__toString()

__toString() : string

String representation of this rule.

Returns

string