Documentation

OperatorRuleHelper
in package

Table of Contents

$ruleLevelHelper  : RuleLevelHelper
__construct()  : mixed
isValidForArithmeticOperation()  : bool
isValidForIncrementOrDecrement()  : bool
isSubtypeOfNumber()  : bool

Properties

Methods

__construct()

public __construct(RuleLevelHelper $ruleLevelHelper) : mixed
Parameters
$ruleLevelHelper : RuleLevelHelper
Return values
mixed

isValidForArithmeticOperation()

public isValidForArithmeticOperation(Scope $scope, Expr $expr) : bool
Parameters
$scope : Scope
$expr : Expr
Return values
bool

isValidForIncrementOrDecrement()

public isValidForIncrementOrDecrement(Scope $scope, Expr $expr) : bool
Parameters
$scope : Scope
$expr : Expr
Return values
bool

isSubtypeOfNumber()

private isSubtypeOfNumber(Scope $scope, Expr $expr) : bool
Parameters
$scope : Scope
$expr : Expr
Return values
bool

Search results