RequiresDatabase
final class RequiresDatabase implements Actionable
Skips the test if the required database driver is not configured.
Properties
| bool|null | $default | Determine if currently the default connection. |
Methods
__construct(array|string $driver, string|null $versionRequirement = null, string|null $connection = null, bool|null $default = null)
No description
mixed
Details
at line 33
__construct(array|string $driver, string|null $versionRequirement = null, string|null $connection = null, bool|null $default = null)
No description
at line 55
mixed
handle(Application $app, Closure $action)
Handle the attribute.