League\FactoryMuffin\Exceptions\FlushMethodNotFoundException::__construct PHP Method

__construct() public method

Create a new flush method not found exception instance.
public __construct ( string $class, string $method, string | null $message = null ) : void
$class string The model class name.
$method string The method name.
$message string | null The exception message.
return void
    public function __construct($class, $method, $message = null)
    {
        if (!$message) {
            $message = "The flush method '{$method}' was not found on the model: '{$class}'.";
        }
        parent::__construct($class, $method, $message);
    }
FlushMethodNotFoundException