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