packages/sql-semantics/src/Core/Binding/BoundRelation.php

1<?php
2
3declare(strict_types=1);
4
5namespace SqlSemantics\Core\Binding;
6
7use SqlSemantics\Core\Model\Join;
8use SqlSemantics\Core\Model\TableUse;
9
10/**
11 * A relation and the namespace visible above it.
12 *
13 * @visibility SqlSemantics
14 */
15final class BoundRelation
16{
17    /**
18     * Binds the dependencies used for semantic binding.
19     */
20    public function __construct(public readonly TableUse|Join $relation, public readonly Scope $scope)
21    {
22    }
23}
24