Added update to Repository
This commit is contained in:
@ -28,9 +28,13 @@ interface Repository
|
||||
public function setOptional(array $columns): Repository;
|
||||
public function addOptional(string $column): Repository;
|
||||
public function getOptional(): array;
|
||||
public function getMethod(string $column, bool $get = true): string;
|
||||
public function getProperty(string $method): string;
|
||||
public function fillData(Model $model, array $data): Model;
|
||||
public function mapArray(Model $model, array $data): array;
|
||||
public function load(array $data): Model;
|
||||
public function save(Model $model): void;
|
||||
public function update(Model $model): void;
|
||||
public function create(array $data): Model;
|
||||
public function edit(Model $model, array $data): Model;
|
||||
public function delete(Model $model): void;
|
||||
|
Reference in New Issue
Block a user