public function addChild(ViewModelInterface $child, $groupId = null)
    {
        $this->children[] = $child;
        if (! is_null($groupId)) {
            $child->setGroupId($groupId);
        }

        return $this;
    }