public function assertAttributeContainsOnly($type, $haystackAttributeName, $haystackClassOrObject, $isNativeType = null) {
        $this->callAssertMethod(__FUNCTION__, [
            'expected' => $key,
        ]);
    }
public function assertAttributeContainsOnly($type, $haystackAttributeName, $haystackClassOrObject, $isNativeType = null) {
        $this->callAssertMethod(__FUNCTION__, [
            'expected' => $key,
        ]);
    }
public function assertAttributeContainsOnly ( $ type , $ haystackAttributeName , $ haystackClassOrObject , $ isNativeType = null ) { $ this -> callAssertMethod ( __FUNCTION__ , [ 'expected' => $ key , ] ) ; }
Asserts that a haystack that is stored in a static attribute of a class
or an attribute of an object contains only values of a given type.

@param string $type
@param string $haystackAttributeName
@param string|object $haystackClassOrObject
@param bool $isNativeType
@param string $message
Asserts that a haystack that is stored in a static attribute of a class or an attribute of an object contains only values of a given type .