/** * @covers SQLJoin::__toString */ public function test__toString() { $this->assertSame("left join users us on (u.id = acc.id)", $this->object->__toString()); }
/** * @return Joiner **/ public function join(SQLJoin $join) { $this->from[] = $join; $this->tables[$join->getTable()] = true; return $this; }