2020-04-02 00:02:51 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Driver\SQL;
|
|
|
|
|
|
|
|
class Join {
|
|
|
|
|
2020-04-03 17:39:58 +02:00
|
|
|
private string $type;
|
|
|
|
private string $table;
|
|
|
|
private string $columnA;
|
|
|
|
private string $columnB;
|
2020-04-02 00:02:51 +02:00
|
|
|
|
|
|
|
public function __construct($type, $table, $columnA, $columnB) {
|
2020-04-03 17:39:58 +02:00
|
|
|
$this->type = $type;
|
2020-04-02 00:02:51 +02:00
|
|
|
$this->table = $table;
|
|
|
|
$this->columnA = $columnA;
|
|
|
|
$this->columnB = $columnB;
|
|
|
|
}
|
|
|
|
|
|
|
|
public function getType() { return $this->type; }
|
|
|
|
public function getTable() { return $this->table; }
|
|
|
|
public function getColumnA() { return $this->columnA; }
|
|
|
|
public function getColumnB() { return $this->columnB; }
|
|
|
|
|
2020-04-03 17:39:58 +02:00
|
|
|
}
|