level = self::LEVEL_INFO; $this->setTargetElement($deleted_element); } /** * @inheritDoc * @return $this */ public function setTargetElement(?AbstractDBElement $element): AbstractLogEntry { parent::setTargetElement($element); if ($element instanceof NamedElementInterface) { $this->setOldName($element->getName()); } return $this; } public function setOldName(string $old_name): self { $this->extra['n'] = $old_name; return $this; } public function getOldName(): string { return $this->extra['n']; } }