File "LaravelVersion.php"
Full path: /home/orbitecv/orbite-school.orbit.et/vendor/spatie/laravel-ignition/src/Support/LaravelVersion.php
File size: 180 B
MIME-type: text/x-php
Charset: utf-8
Download Open Edit Advanced Edit Back
<?php
namespace Spatie\LaravelIgnition\Support;
class LaravelVersion
{
public static function major(): string
{
return explode('.', app()->version())[0];
}
}