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
/
Support
:
LaravelDetector.php
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?php namespace Spatie\StructureDiscoverer\Support; use Illuminate\Foundation\Application; class LaravelDetector { protected static ?bool $isRunningLaravel = null; public static function isRunningLaravel(): bool { return static::$isRunningLaravel ??= class_exists(Application::class); } }