raoul2000\workflow\events\WorkflowEvent::_checkNonEmptyString PHP Method

_checkNonEmptyString() private static method

Test if $argValue is empty.
private static _checkNonEmptyString ( mixed $argName, mixed $argValue )
$argName mixed
$argValue mixed
    private static function _checkNonEmptyString($argName, $argValue)
    {
        if (empty($argValue) || !is_string($argValue)) {
            throw new WorkflowException("argument '{$argName}' must be a string");
        }
    }