Debian Codegraph @

vendor/ipl/orm/src/Contract/RetrieveBehavior.php

raw
1 <?php
2
3 namespace ipl\Orm\Contract;
4
5 use ipl\Orm\Behavior;
6 use ipl\Orm\Model;
7
8 interface RetrieveBehavior extends Behavior
9 {
10 /**
11 * Apply this behavior on the given model
12 *
13 * Called when the model is fetched from the database.
14 *
15 * @param Model $model
16 */
17 public function retrieve(Model $model): void;
18 }