Add and Edit Model

This commit is contained in:
2021-05-23 21:03:10 -04:00
parent 244d8cc414
commit 1cd06d5fe6
2 changed files with 33 additions and 0 deletions

View File

@ -11,4 +11,7 @@ interface Model {
public function siblingOf(string $sibling_model_class, string $connecting_table, array $relation_definitions): ?array;
public function toArray(): array;
public static function add(ModelFactory $factory, $input): bool;
public function edit($input): bool;
}