protected function checkBlank($object, string $fieldName)
    {
        if ($object === null || strlen(trim($object)) === 0) {
            throw new \InvalidArgumentException("The \"$fieldName\" argument is required; it cannot be null, empty, nor containing only whitespace");
        }
        return $object;
    }