protected function generateWildcard(
        string $wildcard,
        ?NodeInterface $parent,
        ?string $name
    ): NodeInterface{
        $node   = new WildcardNode($this, $parent, $name);

        $node->setWildcard($wildcard);

        return $node;
    }
protected function generateWildcard(
        string $wildcard,
        ?NodeInterface $parent,
        ?string $name
    ): NodeInterface{
        $node   = new WildcardNode($this, $parent, $name);

        $node->setWildcard($wildcard);

        return $node;
    }
protected function generateWildcard ( string $ wildcard , ? NodeInterface $ parent , ? string $ name ) : NodeInterface { $ node = new WildcardNode ( $ this , $ parent , $ name ) ; $ node -> setWildcard ( $ wildcard ) ; return $ node ; }
Generate wildcard node.

@param string             $wildcard
@param NodeInterface|null $parent
@param string|null        $name

@return NodeInterface
Generate wildcard node .