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
/
Ingests
:
StorageIngest.php
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?php namespace Laravel\Pulse\Ingests; use Illuminate\Support\Collection; use Laravel\Pulse\Contracts\Ingest; use Laravel\Pulse\Contracts\Storage; /** * @internal */ class StorageIngest implements Ingest { /** * Create a new Storage Ingest instance. */ public function __construct(protected Storage $storage) { // } /** * Ingest the items. * * @param \Illuminate\Support\Collection<int, \Laravel\Pulse\Entry> $items */ public function ingest(Collection $items): void { $this->storage->store($items); } /** * Trim the ingest. */ public function trim(): void { $this->storage->trim(); } /** * Digest the ingested items. */ public function digest(Storage $storage): int { return 0; } }