File "CannotCreateDataCollectable.php"

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

<?php

namespace Spatie\LaravelData\Exceptions;

use Exception;

class CannotCreateDataCollectable extends Exception
{
    public static function create(
        string $from,
        string $into
    ): self {
        return new self("Cannot create data collectable of type `{$into}` from `{$from}`");
    }
}