private function getQualifiedPivotTableName(string $class=null): string
    {
        /** @var \Cviebrock\EloquentTaggable\Taggable $instance */
        $instance = $class ? new $class : new class extends Model { use Taggable; };

        return $instance->tags()->getConnection()->getTablePrefix() .
                $instance->tags()->getTable();
    }
private function getQualifiedPivotTableName(string $class=null): string
    {
        /** @var \Cviebrock\EloquentTaggable\Taggable $instance */
        $instance = $class ? new $class : new class extends Model { use Taggable; };

        return $instance->tags()->getConnection()->getTablePrefix() .
                $instance->tags()->getTable();
    }
private function getQualifiedPivotTableName ( string $ class = null ) : string { /** @var \Cviebrock\EloquentTaggable\Taggable $instance */ $ instance = $ class ? new $ class : new class extends Model { use Taggable ; } ; return $ instance -> tags ( ) -> getConnection ( ) -> getTablePrefix ( ) . $ instance -> tags ( ) -> getTable ( ) ; }
Get the qualified table name for the Tag model's pivot table.

@param string $class

@return string
Get the qualified table name for the Tag model s pivot table .