src/Laito/Database.php
public function join($table, $first, $operator, $second, $type = 'LEFT')
    {
        $this->joins[] = [
            'table' => $table,
            'first' => $first,
            'operator' => $operator,
            'second' => $second,
            'type' => $type
        ];
        return $this;
    }
public function join($table, $first, $operator, $second, $type = 'LEFT')
    {
        $this->joins[] = [
            'table' => $table,
            'first' => $first,
            'operator' => $operator,
            'second' => $second,
            'type' => $type
        ];
        return $this;
    }
public function join ( $ table , $ first , $ operator , $ second , $ type = 'LEFT' ) { $ this -> joins [ ] = [ 'table' => $ table , 'first' => $ first , 'operator' => $ operator , 'second' => $ second , 'type' => $ type ] ; return $ this ; }
Sets a table to JOIN with

@param string $table Table name
@param string $first Left key for the ON condition
@param string $operator Operator for the ON condition
@param string $second Right key for the ON condition
@param string $type Join type
@return object Database instance
Sets a table to JOIN with