1
0
mirror of https://github.com/flarum/core.git synced 2025-07-30 21:20:24 +02:00

feat: STUBS!

This commit is contained in:
Matthew Kilgore
2021-12-01 17:36:36 -05:00
parent c561897f1c
commit 05aa62f70c
35 changed files with 19100 additions and 3 deletions

View File

@@ -0,0 +1,28 @@
<?php
namespace Illuminate\Database\Eloquent;
/**
* @implements \ArrayAccess<string, mixed>
*/
abstract class Model implements \JsonSerializable, \ArrayAccess
{
/**
* Update the model in the database.
*
* @param array<model-property<static>, mixed> $attributes
* @param array<int|string, mixed> $options
* @return bool
*/
public function update(array $attributes = [], array $options = []);
/**
* Begin querying a model with eager loading.
*
* @param non-empty-string|array<int|string, (\Closure)|string> $relations
* @return \Illuminate\Database\Eloquent\Builder<static>
*/
public static function with($relations);
}
class ModelNotFoundException extends \RuntimeException {}