package and depencies
This commit is contained in:
11
vendor/spatie/laravel-ignition/src/Support/LaravelVersion.php
vendored
Normal file
11
vendor/spatie/laravel-ignition/src/Support/LaravelVersion.php
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
namespace Spatie\LaravelIgnition\Support;
|
||||
|
||||
class LaravelVersion
|
||||
{
|
||||
public static function major(): string
|
||||
{
|
||||
return explode('.', app()->version())[0];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user