Nie możesz wybrać więcej, niż 25 tematów
Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
|
- <?php
-
- namespace App\Models\Feature;
-
- use App\Models\HistoryModel;
- use Illuminate\Database\Query\Builder;
-
- interface IModelFeature
- {
-
- public static function getBuilder(string $name = 'main'): Builder;
-
- public static function getTableName(): string;
-
- public function copy(IModelFeature $from): static;
-
- public function getAttributeKeys(): array;
-
- public function isNotSavedModel(): bool;
-
- public function getHistory(): HistoryModel|null;
-
- /**
- * モデルの和名を取得する
- *
- * @return string
- */
- public function getModelName(): string;
-
- public function getChangeLogMessage($before, $after): string|null;
- }
|