public function register($id, $bindingType, $collection, $key, $type, $humanName, $collectionName, $group, $category, $alternateTarget)
{
if ($bindingType !== 'variable') {
$this->assertNoDuplicateTags($id);
}
$this->tags[$id] = ['id' => $id, 'cid' => 'hidden' . $this->cids['hidden']++, 'bindingType' => $bindingType, 'collection' => $collection, 'key' => $key, 'type' => $type, 'humanName' => $humanName, 'collectionName' => $collectionName, 'group' => $group, 'category' => $category, 'alternateTarget' => $alternateTarget, 'defaults' => null, 'hidden' => true];
$this->tags[$id]['data'] = $this->TagManager->getInstanceForTag($this->tags[$id]);
if ($this->tags[$id]['data'] && isset($this->tags[$id]['data']->id)) {
$this->tags[$id]['cid'] = $this->tags[$id]['bindingType'] . $this->tags[$id]['data']->id;
}
}