mirror of
https://github.com/danog/psalm-plugin-laravel.git
synced 2024-12-11 16:49:47 +01:00
75 lines
2.0 KiB
Plaintext
75 lines
2.0 KiB
Plaintext
|
<?php
|
||
|
|
||
|
namespace Illuminate\Database\Eloquent;
|
||
|
|
||
|
use ArrayAccess;
|
||
|
use JsonSerializable;
|
||
|
use Illuminate\Contracts\Support\Jsonable;
|
||
|
use Illuminate\Contracts\Support\Arrayable;
|
||
|
use Illuminate\Contracts\Routing\UrlRoutable;
|
||
|
use Illuminate\Contracts\Queue\QueueableEntity;
|
||
|
|
||
|
/**
|
||
|
* @implements \ArrayAccess<string, mixed>
|
||
|
* @mixin \Illuminate\Database\Eloquent\Builder<static>
|
||
|
*/
|
||
|
abstract class Model implements ArrayAccess, Arrayable, Jsonable, JsonSerializable, QueueableEntity, UrlRoutable
|
||
|
{
|
||
|
/**
|
||
|
* @param array|mixed $columns
|
||
|
* @return \Illuminate\Database\Eloquent\Collection<static>
|
||
|
*/
|
||
|
public static function all($columns = ['*']) { }
|
||
|
|
||
|
/**
|
||
|
* @return \Illuminate\Database\Eloquent\Builder<static>
|
||
|
*/
|
||
|
public static function query() { }
|
||
|
|
||
|
/**
|
||
|
* @return \Illuminate\Database\Eloquent\Builder<$this>
|
||
|
*/
|
||
|
public function newQuery() { }
|
||
|
|
||
|
/**
|
||
|
* @return \Illuminate\Database\Eloquent\Builder<$this>
|
||
|
*/
|
||
|
public function newModelQuery() { }
|
||
|
|
||
|
/**
|
||
|
* @return \Illuminate\Database\Eloquent\Builder<$this>
|
||
|
*/
|
||
|
public function newQueryWithoutRelationships() { }
|
||
|
|
||
|
/**
|
||
|
* @param \Illuminate\Database\Eloquent\Builder $builder
|
||
|
* @return \Illuminate\Database\Eloquent\Builder<$this>
|
||
|
*/
|
||
|
public function registerGlobalScopes($builder) { }
|
||
|
|
||
|
/**
|
||
|
* @return \Illuminate\Database\Eloquent\Builder<$this>
|
||
|
*/
|
||
|
public function newQueryWithoutScopes() { }
|
||
|
|
||
|
/**
|
||
|
* Get a new query instance without a given scope.
|
||
|
*
|
||
|
* @param \Illuminate\Database\Eloquent\Scope|string $scope
|
||
|
* @return \Illuminate\Database\Eloquent\Builder<$this>
|
||
|
*/
|
||
|
public function newQueryWithoutScope($scope) { }
|
||
|
|
||
|
/**
|
||
|
* @param array|int $ids
|
||
|
* @return \Illuminate\Database\Eloquent\Builder<$this>
|
||
|
*/
|
||
|
public function newQueryForRestoration($ids) { }
|
||
|
|
||
|
/**
|
||
|
* @param \Illuminate\Database\Query\Builder $query
|
||
|
* @return \Illuminate\Database\Eloquent\Builder<$this>
|
||
|
*/
|
||
|
public function newEloquentBuilder($query) { }
|
||
|
}
|