getAttribute('name')) { $this->setAttribute('name', $compiler->getVarName()); } return $this->getAttribute('name'); } public function compile(Compiler $compiler): void { $name = $this->getName($compiler); if ('_self' === $name) { $compiler->raw('$this'); } else { $compiler ->raw('$macros[') ->string($name) ->raw(']') ; } } }