X

Create New Item

File Folder

X

Search Results

File "LaravelVersion.php"

Full path: /home/orbitecv/orbite-school.orbit.et/vendor/spatie/error-solutions/src/Support/Laravel/LaravelVersion.php
File size: 187 B
MIME-type: text/x-php
Charset: utf-8

Download   Open   Edit   Advanced Edit   Back

<?php

namespace Spatie\ErrorSolutions\Support\Laravel;

class LaravelVersion
{
    public static function major(): string
    {
        return explode('.', app()->version())[0];
    }
}