src/Classes/AdldapUtils.php
public function validateNotEmpty($parameter, $value)
    {
        if (!empty($value)) {
            return true;
        }

        $message = sprintf('Parameter: %s cannot be empty.', $parameter);

        throw new AdldapException($message);
    }
public function validateNotEmpty($parameter, $value)
    {
        if (!empty($value)) {
            return true;
        }

        $message = sprintf('Parameter: %s cannot be empty.', $parameter);

        throw new AdldapException($message);
    }
public function validateNotEmpty ( $ parameter , $ value ) { if ( ! empty ( $ value ) ) { return true ; } $ message = sprintf ( 'Parameter: %s cannot be empty.' , $ parameter ) ; throw new AdldapException ( $ message ) ; }
Validates that the inserted value of the specified parameter
is not empty. This will throw an AdldapException otherwise.

@param string $parameter
@param mixed  $value

@return bool

@throws AdldapException
Validates that the inserted value of the specified parameter is not empty . This will throw an AdldapException otherwise .