public function rightJoin($table, $conditions = [], $types = [])
    {
        return $this->join($this->_makeJoin($table, $conditions, QueryInterface::JOIN_TYPE_RIGHT), $types);
    }
public function rightJoin($table, $conditions = [], $types = [])
    {
        return $this->join($this->_makeJoin($table, $conditions, QueryInterface::JOIN_TYPE_RIGHT), $types);
    }
public function rightJoin ( $ table , $ conditions = [ ] , $ types = [ ] ) { return $ this -> join ( $ this -> _makeJoin ( $ table , $ conditions , QueryInterface :: JOIN_TYPE_RIGHT ) , $ types ) ; }
Adds a single `RIGHT JOIN` clause to the query.

This is a shorthand method for building joins via `join()`.

The arguments of this method are identical to the `leftJoin()` shorthand, please refer
to that methods description for further details.

@param string|array $table The table to join with
@param string|array|\Cake\Database\ExpressionInterface $conditions The conditions
to use for joining.
@param array $types a list of types associated to the conditions used for converting
values to the corresponding database representation.
@return $this
Adds a single RIGHT JOIN clause to the query .