rewrote the comment.
use DB::join to create join object;
left() and right() are non-static method calls.