Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
tipuloidea
/
back
/
vendor
/
spatie
/
php-structure-discoverer
/
src
/
Cache
:
NullDiscoverCacheDriver.php
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?php namespace Spatie\StructureDiscoverer\Cache; use Exception; class NullDiscoverCacheDriver implements DiscoverCacheDriver { public function has(string $id): bool { return false; } /** * @return array<string> */ public function get(string $id): array { throw new Exception('Null driver cannot get a cached item'); } /** @param array<string> $discovered */ public function put(string $id, array $discovered): void { } public function forget(string $id): void { } }