File "CannotCreateAbstractClass.php"

Full Path: /var/www/html/back/vendor/spatie/laravel-data/src/Exceptions/CannotCreateAbstractClass.php
File size: 337 bytes
MIME-type: text/x-php
Charset: utf-8

<?php

namespace Spatie\LaravelData\Exceptions;

use Exception;

class CannotCreateAbstractClass extends Exception
{
    public static function morphClassWasNotResolved(
        string $originalClass,
    ): self {
        return new self("No morph data class found for {$originalClass}, the abstract class cannot be created!");
    }
}