<TKey is array-key, TValue>
public
toArray(): array<TKey, TValue>
Get the instance as an array.
Illuminate\Database\Eloquent\Model::toArray()
Illuminate\Pagination\Cursor::toArray()
Illuminate\Support\UriQueryString::toArray()
Illuminate\Http\Request::toArray()
Illuminate\Pagination\LengthAwarePaginator::toArray()
Illuminate\Pagination\Paginator::toArray()
Illuminate\Pagination\CursorPaginator::toArray()
Illuminate\Support\Fluent::toArray()
Illuminate\Support\MessageBag::toArray()
Illuminate\Support\ValidatedInput::toArray()