Asserts that a haystack that is stored in a static attribute of a class
or an attribute of an object contains a needle.
public static assertAttributeContains ( mixed $needle, string $haystackAttributeName, string | object $haystackClassOrObject, string $message = '', boolean $ignoreCase = false, boolean $checkForObjectIdentity = true, boolean $checkForNonObjectIdentity = false ) | ||
$needle | mixed | |
$haystackAttributeName | string | |
$haystackClassOrObject | string | object | |
$message | string | |
$ignoreCase | boolean | |
$checkForObjectIdentity | boolean | |
$checkForNonObjectIdentity | boolean |