/**
  * {@inheritDoc}
  */
 public function isOptionalZeroPositiveInteger($value, $suppressException = true)
 {
     /* Clear the last error. */
     $this->lastError = null;
     /* If valid just return true. */
     if (Validator::isOptionalZeroPositiveInteger($value)) {
         return true;
     }
     /* Set the error message. */
     $type = gettype($value);
     $this->lastError = sprintf('Expected null, zero or positive integer, \'%s\' given.', 'integer' === $type ? 'negative integer' : $type);
     return $this->validationFailed($suppressException);
 }