protected function getValidator(ServiceLocatorInterface $serviceLocator, string $name, array $options): object
    {
        return $serviceLocator->getService($name, $options);
    }
protected function getValidator(ServiceLocatorInterface $serviceLocator, string $name, array $options): object
    {
        return $serviceLocator->getService($name, $options);
    }
protected function getValidator ( ServiceLocatorInterface $ serviceLocator , string $ name , array $ options ) : object { return $ serviceLocator -> getService ( $ name , $ options ) ; }
Get validator for name.

@param ServiceLocatorInterface $serviceLocator
@param string                  $name
@param array                   $options
@return ValidatorInterface
@throws ServiceLocatorException
Get validator for name .