Asserts that a haystack that is stored in a static attribute of a class
or an attribute of an object does not contain only values of a given
type.
public static assertAttributeNotContainsOnly ( string $type, string $haystackAttributeName, string | object $haystackClassOrObject, boolean $isNativeType = null, string $message = '' ) | ||
$type | string | |
$haystackAttributeName | string | |
$haystackClassOrObject | string | object | |
$isNativeType | boolean | |
$message | string |