| 1 | <?php  | 
            ||
| 19 | abstract class AbstractParametrizedValidator implements ValidatorInterface { | 
            ||
| 20 | |||
| 21 | /**  | 
            ||
| 22 | * Throws an exception if the parameters don't fullfill the expected  | 
            ||
| 23 | * parameter count.  | 
            ||
| 24 | *  | 
            ||
| 25 | * @param string $name  | 
            ||
| 26 | * the name of the validator  | 
            ||
| 27 | * @param integer $parameterAmount  | 
            ||
| 28 | * the amount of expected parameters  | 
            ||
| 29 | * @param string[] $parameters  | 
            ||
| 30 | * the parameters  | 
            ||
| 31 | * @param boolean $exact  | 
            ||
| 32 | * whether the amount of parameters has to be exact (true) or whether it  | 
            ||
| 33 | * might be greater (false)  | 
            ||
| 34 | */  | 
            ||
| 35 |     protected function validateParameterCount($name, $parameterAmount, array $parameters, $exact = true) { | 
            ||
| 40 | |||
| 41 | }  | 
            ||
| 42 |