lithium\test\Dispatcher::_group()

protected static method

Creates the group class based

Parameters

  • array $data

    Array of cases or groups.

Returns

object

Group object constructed with $data.

Source

	protected static function _group($data) {
		$group = Libraries::locate('test', static::$_classes['group']);
		$class = static::_instance($group, compact('data'));
		return $class;
	}