44 foreach ( $this->args as $name => $value ) {
50 $s .=
"\"$name\":\"" .
51 str_replace(
'"',
'\\"', $value->__toString() ) .
'"';
61 return !count( $this->args );
69 return $this->args[$index] ??
false;
Expansion frame with custom arguments.
__construct( $preprocessor, $args)
An expansion frame, used as a context to expand the result of preprocessToObj()
Preprocessor $preprocessor