Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
gilour
/
laravel
/
pulse
/
src
/
Contracts
:
ResolvesUsers.php
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?php namespace Laravel\Pulse\Contracts; use Illuminate\Contracts\Auth\Authenticatable; use Illuminate\Support\Collection; interface ResolvesUsers { /** * Return a unique key identifying the user. */ public function key(Authenticatable $user): int|string|null; /** * Eager load the users with the given keys. * * @param Collection<int, int|string|null> $keys */ public function load(Collection $keys): self; /** * Find the user with the given key. * * @return object{name: string, extra?: string, avatar?: string} */ public function find(int|string|null $key): object; }