public function unlinkAll() { foreach ($this->getValue() as $value) { $this->unlinkItem($value); } // Reset current value $this->value = new EntityCollection($this->getEntity()); return true; }