protected function parseValidationRule($rule)
	{
		$ruleArray = ['name' => '', 'parameters' => []];

		$explodedRule = explode(':', $rule);
		$ruleArray['name'] = array_shift($explodedRule);
		$ruleArray['parameters'] = explode(',', array_shift($explodedRule));

		return $ruleArray;
	}
protected function parseValidationRule($rule)
	{
		$ruleArray = ['name' => '', 'parameters' => []];

		$explodedRule = explode(':', $rule);
		$ruleArray['name'] = array_shift($explodedRule);
		$ruleArray['parameters'] = explode(',', array_shift($explodedRule));

		return $ruleArray;
	}
protected function parseValidationRule ( $ rule ) { $ ruleArray = [ 'name' => '' , 'parameters' => [ ] ] ; $ explodedRule = explode ( ':' , $ rule ) ; $ ruleArray [ 'name' ] = array_shift ( $ explodedRule ) ; $ ruleArray [ 'parameters' ] = explode ( ',' , array_shift ( $ explodedRule ) ) ; return $ ruleArray ; }
Parses validition rule of laravel

@return array
Parses validition rule of laravel