public function findSubnodeByName($subnodeName, $inDepth = true)
    {
        $subnodes = $this->getSubnodes();

        /**
         * @var \Elcodi\Component\Menu\Entity\Menu\Interfaces\NodeInterface $subnode
         */
        foreach ($subnodes as $subnode) {
            if ($subnodeName == $subnode->getName()) {
                return $subnode;
            }

            if ($inDepth) {
                $subnode = $subnode->findSubnodeByName($subnodeName, $inDepth);

                if ($subnode instanceof \Elcodi\Component\Menu\Entity\Menu\Interfaces\NodeInterface) {
                    return $subnode;
                }
            }
        }

        return null;
    }