protected function getEntityClassName() { if (isset(static::$entityNamespace)) { return static::$entityNamespace; } return $this->tags()->getMorphClass(); }