src/PAGI/Node/Node.php
public function loadValidatorsFrom(array $validatorsInformation)
    {
        foreach ($validatorsInformation as $name => $validatorInfo) {
            $this->validateInputWith(
                $name,
                $validatorInfo['callback'],
                $validatorInfo['soundOnError']
            );
        }
        return $this;
    }
public function loadValidatorsFrom(array $validatorsInformation)
    {
        foreach ($validatorsInformation as $name => $validatorInfo) {
            $this->validateInputWith(
                $name,
                $validatorInfo['callback'],
                $validatorInfo['soundOnError']
            );
        }
        return $this;
    }
public function loadValidatorsFrom ( array $ validatorsInformation ) { foreach ( $ validatorsInformation as $ name => $ validatorInfo ) { $ this -> validateInputWith ( $ name , $ validatorInfo [ 'callback' ] , $ validatorInfo [ 'soundOnError' ] ) ; } return $ this ; }
Given an array of validator information structures, this will load
all validators into this node.

@param validatorInfo[] $validatorsInformation

@return Node
Given an array of validator information structures this will load all validators into this node .