SchemaProxy
class SchemaProxy mixin Builder
Properties
| protected null|Connection, string, null|Blueprint | $resolver |
Methods
mixed
__call(string $name, array $arguments)
Forward a schema operation to the current connection's builder.
connection(string|null $name = null)
Get schema builder with specific connection.
void
Details
at line 24
__construct(Container $app)
Create a new schema proxy.
at line 31
mixed
__call(string $name, array $arguments)
Forward a schema operation to the current connection's builder.
at line 42
Builder
connection(string|null $name = null)
Get schema builder with specific connection.
Routes through DatabaseManager to respect usingConnection() overrides.
at line 65
void
blueprintResolver(Closure $resolver)
Set the default Schema Blueprint resolver callback.
Boot-only. The callback persists on the shared proxy for the worker lifetime and applies to every subsequent schema builder it creates.