src/ItePHP/Core/ValidatorService.php
public function storageValidate($validators,$storage){
		$errors=[];
		foreach($validators as $kValidate=>$validate){
			if(!isset($storage[$kValidate])){
				$errors[]=['field'=>$kValidate,'message'=>'Value '.$kValidate.' not found.'];
				continue;
			}

			$error=$this->validate($validate,$storage[$kValidate]);
			if($error)
				$errors[]=['field'=>$kValidate,'message'=>$error];
		}

		return $errors;

	}
public function storageValidate($validators,$storage){
		$errors=[];
		foreach($validators as $kValidate=>$validate){
			if(!isset($storage[$kValidate])){
				$errors[]=['field'=>$kValidate,'message'=>'Value '.$kValidate.' not found.'];
				continue;
			}

			$error=$this->validate($validate,$storage[$kValidate]);
			if($error)
				$errors[]=['field'=>$kValidate,'message'=>$error];
		}

		return $errors;

	}
Validate data from storage array.

@param mixed[] $validators - array with rules validation example: ['nameField'=>'Validator\ExampleClassValidator']
@param mixed[] $storage - array with values, example ['nameField1'=>'value1','nameField2'=>'value2']
@return string[] with errors. If success then empty array.