Skip to content

Commit e84f38a

Browse files
committed
Improve docs
1 parent fa6f797 commit e84f38a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/Web/Documentation/content/main/1-framework/05-models.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,10 @@ interface Model
186186
public static function updateOrCreate(array $find, array $update): self;
187187

188188
// Find a specific model, optionally loading relations as well
189-
public static function find(Id $id, array $relations = []): ?self;
189+
public static function get(Id $id, array $relations = []): ?self;
190+
191+
// Create a model query with a number of field conditions
192+
public static function find(mixed ...$conditions): ModelQueryBuilder;
190193

191194
// Save a model instance to the database
192195
public function save(): self;

0 commit comments

Comments
 (0)