/** * {@inheritDoc} * @see \Fixin\Model\Entity\EntityInterface::delete() */ public function delete() : EntityInterface { if ($this->isStored()) { $this->entityId->deleteEntity(); $this->entityId = null; return $this; } throw new NotStoredEntityException(static::EXCEPTION_NOT_STORED_ENTITY); }
/** * {@inheritDoc} * @see \Fixin\Model\Request\Where\WhereInterface::orId($entityId) */ public function orId(EntityIdInterface $entityId) : WhereInterface { return $this->orItems($entityId->getArrayCopy()); }