protected function loadRuleSets()
	{
		if (empty($this->ruleSetFiles))
		{
			throw ValidationException::forNoRuleSets();
		}

		foreach ($this->ruleSetFiles as $file)
		{
			$this->ruleSetInstances[] = new $file();
		}
	}
protected function loadRuleSets()
	{
		if (empty($this->ruleSetFiles))
		{
			throw ValidationException::forNoRuleSets();
		}

		foreach ($this->ruleSetFiles as $file)
		{
			$this->ruleSetInstances[] = new $file();
		}
	}
protected function loadRuleSets ( ) { if ( empty ( $ this -> ruleSetFiles ) ) { throw ValidationException :: forNoRuleSets ( ) ; } foreach ( $ this -> ruleSetFiles as $ file ) { $ this -> ruleSetInstances [ ] = new $ file ( ) ; } }
Loads all of the rulesets classes that have been defined in the
Config\Validation and stores them locally so we can use them.
Loads all of the rulesets classes that have been defined in the Config \ Validation and stores them locally so we can use them .