public function groups($driver = null)
	{
		$result = array();

		if ($driver === null)
		{
			foreach (\Auth::group(true) as $group)
			{
				method_exists($group, 'groups') and $result = \Arr::merge($result, $group->groups());
			}
		}
		else
		{
			$result = \Auth::group($driver)->groups();
		}

		return $result;
	}
public function groups($driver = null)
	{
		$result = array();

		if ($driver === null)
		{
			foreach (\Auth::group(true) as $group)
			{
				method_exists($group, 'groups') and $result = \Arr::merge($result, $group->groups());
			}
		}
		else
		{
			$result = \Auth::group($driver)->groups();
		}

		return $result;
	}
public function groups ( $ driver = null ) { $ result = array ( ) ; if ( $ driver === null ) { foreach ( \ Auth :: group ( true ) as $ group ) { method_exists ( $ group , 'groups' ) and $ result = \ Arr :: merge ( $ result , $ group -> groups ( ) ) ; } } else { $ result = \ Auth :: group ( $ driver ) -> groups ( ) ; } return $ result ; }
Returns the list of defined groups

@return  array
Returns the list of defined groups