19 declare(strict_types=1);
68 $string .= Token::LEADS_TO_EXACTLY_ONE->value;
71 $string .= Token::START_AT_CURRENT->value;
73 $string .= Token::START_AT_ROOT->value;
75 foreach ($this->
steps() as $step) {
76 $string .= Token::SEPARATOR->value;
85 $string = $step->
name();
87 $string = $string->value;
89 foreach ($step->
filters() as $filter) {
90 $string .= Token::FILTER_SEPARATOR->value .
91 $filter->type()->value .
96 iterator_to_array($filter->values())