Make the query where_nested method public.

Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
This commit is contained in:
Taylor Otwell
2012-03-15 16:12:18 -05:00
parent b755903de6
commit 3de0d1af66

View File

@@ -393,7 +393,7 @@ class Query {
* @param string $connector
* @return Query
*/
protected function where_nested($callback, $connector)
public function where_nested($callback, $connector = 'AND')
{
$type = 'where_nested';