table = $table; $this->type = $type; parent::__construct($connection, $grammar); } /** * Add an "or on" clause to the join. */ public function orOn(string $first, ?string $operator = null, ?string $second = null): Join { return $this->on($first, $operator, $second, 'or'); } /** * Add an "on" clause to the join. */ public function on(string $first, ?string $operator = null, ?string $second = null, string $boolean = 'and'): Join { return $this->whereColumn($first, $operator, $second, $boolean); } }