[增添]添加了datasource的setting数据库以及默认值
This commit is contained in:
13
vendor/spatie/laravel-package-tools/src/Exceptions/InvalidPackage.php
vendored
Normal file
13
vendor/spatie/laravel-package-tools/src/Exceptions/InvalidPackage.php
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
|
||||
namespace Spatie\LaravelPackageTools\Exceptions;
|
||||
|
||||
use Exception;
|
||||
|
||||
class InvalidPackage extends Exception
|
||||
{
|
||||
public static function nameIsRequired(): self
|
||||
{
|
||||
return new static('This package does not have a name. You can set one with `$package->name("yourName")`');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user