Zend\Stdlib\Guard\GuardUtils::guardAgainstNull
Verify that the data is not null
Signature
public function guardAgainstNull(mixed
$data,
[string
$dataName = 'Argument',
[string
$exceptionClass = self::DEFAULT_EXCEPTION_CLASS]] )
Parameters
$data
— mixed- the data to verify
$dataName
— string- the data name
$exceptionClass
— string- FQCN for the exception