/** * Set the condition how to join the table[s] with the 'using' keyword. * * @param string $column Name of the column for the using condition. * * @return $this The same instance to concatenate methods. */ public function using($column) { /** @var ColumnInterface $columnObj */ $columnObj = $this->factory->references('Column', $column); $this->join->using($columnObj); return $this; }
/** * Initialization of the join builder. * * @param JoinInterface $join */ public function __construct(JoinInterface $join) { $this->joinArray = $join->getJoinArray(); }