Reset this ValueHolder's values, clearing any of them.
public reset ( ) : |
||
return | This instance, for a fluent API. |
public function testReset() { $initialValues = array('key' => 'value'); $valueHolder = new ValueHolder($initialValues); $valueHolder->reset(); $this->assertAttributeEmpty('_values', $valueHolder); }