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

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

        throw new AdldapException($message);
    }
public function validateNotNull($parameter, $value)
    {
        if ($value !== null) {
            return true;
        }

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

        throw new AdldapException($message);
    }
public function validateNotNull ( $ parameter , $ value ) { if ( $ value !== null ) { return true ; } $ message = sprintf ( 'Parameter: %s cannot be null.' , $ parameter ) ; throw new AdldapException ( $ message ) ; }
Validates that the inserted value of the specified parameter
is not null. 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 null . This will throw an AdldapException otherwise .