/** * Reurn a new table with the given groups. * * @param string[] $groups * * @return Table */ public function createTable(array $groups = array()) { $table = new Table(array()); $table->setGroups($groups); return $table; }