value = $value; } else { throw new InvalidArgumentException('Incorrect type for value.'); } } /** * {@inheritdoc} */ public function getValue() { return $this->value; } }