final class LaravelExtension
    implements ModelProviderInterface
Restricted visibility: declared "@visibility root". Code outside that scope must not name this declaration.

Laravel's raw SQL calls and Query Builder/Eloquent execution boundaries.

Methods§

public function __construct(private Dialects $dialects = new \SqlCatalog\Core\Sql\Dialects())

Supplies SQL policies independently of the framework model.

Parameters

$dialectsDialects
Calls 1
public function name(): string

The name the command line selects this extension by.

Returns

string
Test cases 1
public function description(): string

What the extension covers.

Returns

string
Test cases 1
public function models(ModelContext $context): ModelSet

Laravel semantics are contributed only when this extension is enabled.

Parameters

$contextModelContext

Returns

Test cases 1
Calls 5
public function builderMethods(): array<string, StatementKind|null>

Execution calls, including explicitly incomplete compound operations.

Returns

array<string, StatementKind|null>
Test cases 1
Called from 1
Calls 5
public function methods(): array<string, StatementKind|null>
public function globals(): array<string, string>

The extension declares no globals.

Returns

array<string, string>
Test cases 1

Private surface 3§

Implementation details, listed for orientation only.

private const FACADE = 'Illuminate\Support\Facades\DB'
private const CONNECTION = 'Illuminate\Database\Connection'
private Dialects $dialects = new \SqlCatalog\Core\Sql\Dialects()

Test cases 29§

Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.

Dedicated tests 9
Other tests reaching this symbol 20

Relations§

Instantiated in 1