You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- <?php
-
- namespace common\logic;
-
- use yii\db\ActiveRecord;
-
- abstract class AbstractBuilder extends AbstractService implements BuilderInterface
- {
- public function saveCreate(ActiveRecord $model): bool
- {
- return $model->save();
- }
-
- public function saveUpdate(ActiveRecord $model): bool
- {
- return $model->save();
- }
-
- public function delete(ActiveRecord $model): bool
- {
- return $model->delete();
- }
- }
|