/** * * {@inheritDoc} * @see \Verona\Value\ListValue::add() */ public function add(...$values) { foreach ($values as $value) { if (!in_array($value, $this->getAll())) { parent::add($value); } } return $this; }
/** * Running testcase testRepresent(). * * @return void */ public function testRepresent() { $this->assertSame(array(12, 'abc'), $this->object->represent()); }