public function validateOptions()
	{
		//override the config
		$this->validator->override($this->suppliedOptions, $this->rules);

		//if the validator failed, throw an exception
		if ($this->validator->fails())
		{
			throw new \InvalidArgumentException("There are problems with your '" . $this->suppliedOptions['action_name'] . "' action in the " .
									$this->config->getOption('name') . " model: " .	implode('. ', $this->validator->messages()->all()));
		}
	}
public function validateOptions()
	{
		//override the config
		$this->validator->override($this->suppliedOptions, $this->rules);

		//if the validator failed, throw an exception
		if ($this->validator->fails())
		{
			throw new \InvalidArgumentException("There are problems with your '" . $this->suppliedOptions['action_name'] . "' action in the " .
									$this->config->getOption('name') . " model: " .	implode('. ', $this->validator->messages()->all()));
		}
	}
public function validateOptions ( ) { //override the config $ this -> validator -> override ( $ this -> suppliedOptions , $ this -> rules ) ; //if the validator failed, throw an exception if ( $ this -> validator -> fails ( ) ) { throw new \ InvalidArgumentException ( "There are problems with your '" . $ this -> suppliedOptions [ 'action_name' ] . "' action in the " . $ this -> config -> getOption ( 'name' ) . " model: " . implode ( '. ' , $ this -> validator -> messages ( ) -> all ( ) ) ) ; } }
Validates the supplied options

@return void
Validates the supplied options