File "CouldntFindFactory.php"

Full Path: /var/www/html/back/vendor/knuckleswtf/scribe/src/Exceptions/CouldntFindFactory.php
File size: 344 bytes
MIME-type: text/x-php
Charset: utf-8

<?php

namespace Knuckles\Scribe\Exceptions;

class CouldntFindFactory extends \RuntimeException implements ScribeException
{
    public static function forModel(string $modelName): CouldntFindFactory
    {
        return new self("Couldn't find the Eloquent model factory. Did you add the HasFactory trait to your $modelName model?");
    }
}