The from method requires $from and the $alias to be separate parameters.
public function from($from, $alias, $indexBy = null);
The examples show: from('User u')
- Updated the signature of methods "from", "innerJoin" and "leftJoin"
since it does not match the actual implementation.
- Added reference to the "join" method.
->andWhere() can be used directly, without any ->where() before, and we can just always use ->andWhere(). This is why ->hasWhere() is useless, cf. #1043.