private function key($key, $table) { if (is_callable($key)) { return $key($table); } return sprintf($key, $table); }