public function setValue($value) { if (!is_array($value)) { $value = [$value]; } parent::setValue($value); }
public function testSetValue() { $newValue = 'NewValue'; $this->parameter->setValue($newValue); $this->assertSame([$newValue], $this->parameter->getValue()); }