Lines Matching refs:setValue
2 Test ReflectionProperty::setValue() error cases.
22 var_dump($propInfo->setValue());
23 var_dump($propInfo->setValue($instance));
26 var_dump($propInfo->setValue($instance, "NewValue", true));
29 var_dump($propInfo->setValue(true, "NewValue"));
33 var_dump($propInfo->setValue($instance, "NewValue", true));
36 var_dump($propInfo->setValue("A new value"));
38 var_dump($propInfo->setValue());
42 var_dump($propInfo->setValue(true, "Another new value"));
48 var_dump($propInfo->setValue($instance, "NewValue"));
56 var_dump($propInfo->setValue($instanceWithNoProperties, "NewValue"));
62 Warning: ReflectionProperty::setValue() expects exactly 2 parameters, 0 given in %s on line %d
65 Warning: ReflectionProperty::setValue() expects exactly 2 parameters, 1 given in %s on line %d
70 Warning: ReflectionProperty::setValue() expects exactly 2 parameters, 3 given in %s on line %d
75 Warning: ReflectionProperty::setValue() expects parameter 1 to be object, bool given in %s on line …
80 Warning: ReflectionProperty::setValue() expects exactly 2 parameters, 3 given in %s on line %d
87 Warning: ReflectionProperty::setValue() expects exactly 2 parameters, 0 given in %s on line %d