File manager - Edit - /home/linknsbh/cecil-hotel.net/vendor/botble/platform/base/src/GlobalSearch/GlobalSearchableProvider.php
Back
<?php namespace Botble\Base\GlobalSearch; use Botble\Base\Contracts\GlobalSearchableProvider as GlobalSearchableProviderContract; use Illuminate\Support\Collection; use Illuminate\Support\Str; use LogicException; abstract class GlobalSearchableProvider implements GlobalSearchableProviderContract { public function search(string $keyword): Collection { throw new LogicException('Please implement the search() method.'); } protected function stringContains(string|null $haystack, string|null $needle): bool { return Str::contains(Str::lower((string) $haystack), Str::lower((string) $needle)); } }
| ver. 1.4 |
Github
|
.
| PHP 8.2.31 | Generation time: 0.61 |
proxy
|
phpinfo
|
Settings