File "Join.php"
                                Full Path: /home/pulsehostuk9/public_html/invoicer.pulsehost.co.uk/vendor/doctrine/dbal/src/Driver/Join.php
                File size: 801 bytes
                MIME-type: text/x-php
                Charset: utf-8
            
<?php
declare(strict_types=1);
namespace Doctrine\DBAL\Query;
/** @internal */
final class Join
{
    private function __construct(
        public readonly string $type,
        public readonly string $table,
        public readonly string $alias,
        public readonly ?string $condition,
    ) {
    }
    public static function inner(string $table, string $alias, ?string $condition): Join
    {
        return new self('INNER', $table, $alias, $condition);
    }
    public static function left(string $table, string $alias, ?string $condition): Join
    {
        return new self('LEFT', $table, $alias, $condition);
    }
    public static function right(string $table, string $alias, ?string $condition): Join
    {
        return new self('RIGHT', $table, $alias, $condition);
    }
}