This commit is contained in:
deploy-bot committed 2026-12-04 11:54:45 +00:00
commit 1c8ad7dd6d
166 files changed
+11934

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
<?php
namespace IriksIT\Manager\Models;
use Illuminate\Database\Eloquent\Model as Eloquent;
use IriksIT\Manager\Support\Names;
/** Base of the package models: tables get the configured prefix, e.g. manager_pages. */
abstract class Model extends Eloquent
{
protected $guarded = [];
public function getTable(): string
{
return $this->table ?? Names::table(parent::getTable());
}
}