PHP Class Roomify\Bat\Constraint\ConstraintManager

ファイルを表示 Open project: roomify/bat Class Usage Examples

Protected Properties

Property Type Description
$constraints

Public Methods

Method Description
__construct ( $constraints = [] )
addConstraints ( $constraints )
getConstraints ( $constraint_class = NULL ) : array
normalizeConstraints ( $constraint_class = NULL ) : array
setConstraints ( $constraints )

Protected Methods

Method Description
normalizeCheckInDayConstraints ( ) : array
normalizeMinMaxDaysConstraints ( ) : array

Method Details

__construct() public method

public __construct ( $constraints = [] )
$constraints

addConstraints() public method

public addConstraints ( $constraints )
$constraints

getConstraints() public method

public getConstraints ( $constraint_class = NULL ) : array
return array

normalizeCheckInDayConstraints() protected method

protected normalizeCheckInDayConstraints ( ) : array
return array

normalizeConstraints() public method

public normalizeConstraints ( $constraint_class = NULL ) : array
$constraint_class
return array

normalizeMinMaxDaysConstraints() protected method

protected normalizeMinMaxDaysConstraints ( ) : array
return array

setConstraints() public method

public setConstraints ( $constraints )
$constraints

Property Details

$constraints protected_oe property

protected $constraints