ContentProcessor->processVariables($matches['callOptions'], true) ); } else { $options = array(); } $Toolbox = new Toolbox($this->Automad); // Call snippet or method in order of priority: Snippets, Toolbox methods and extensions. if ($snippet = SnippetCollection::get($call)) { // Process a registered snippet. Debug::log($call, 'Process registered snippet'); $TemplateProcessor = $this->initTemplateProcessor(); return $TemplateProcessor->process($snippet, $directory, $collectSnippetDefinitions); } if (method_exists($Toolbox, $call)) { // Call a toolbox method, in case there is no matching snippet. Debug::log($options, 'Calling method ' . $call . ' and passing the following options'); return $Toolbox->$call($options) ?? ''; } // Try an extension, if no snippet or toolbox method was found. Debug::log($call . ' is not a snippet or core method. Will look for a matching extension ...'); $Extension = new Extension($call, $options, $this->Automad); AssetCollection::merge($Extension->getAssets()); return $Extension->getOutput(); } /** * The pattern that is used to match invocations. * * @return string the invocation regex pattern */ public static function syntaxPattern(): string { $statementOpen = preg_quote(Delimiters::STATEMENT_OPEN); $statementClose = preg_quote(Delimiters::STATEMENT_CLOSE); return $statementOpen . '\s*' . '(?P[\w\/\-]+)\s*(?P\{.*?\})?' . '\s*' . $statementClose; } } __halt_compiler();----SIGNATURE:----qbIHNrf7XD7QDFQe+BSFNc+vDCSKYcXeI1kb2yYqjEvwRDaCSiifbMMODi+evEv1bcwPWBk3qroxja+x3cVagH1IlaB6OpCbaHXqPXJGZO1ECn5x9ZCk2h3L2l94+hqwYfGXAkm+3GvBqtVnNF3K3PcC8/UaJUAl6J+Xcpfg85+1t0MiciWXo0ae978riNAsc7JIqcOMNd+vAHwA1F8UCDfKLO/ufMlTqBjUnp2rUOv3Xdu09a8EQ5dUwTUx5rZRBf31sdgHT1QHUA43LepgTRcM2veESUhIl91Br/yTO+JLiKohXiu9pAGy8WX7Oi7iKuV9ZHYCshDqdj6l0GRcghM+fpzkzU5fszSQlqugfJFkkhCXLn5S0LMCk2NthrImIOn+NXCCSM+iBJY2SY1Mhq5GcbDX+HeBRXcPbkBUHHxTsW4r5tCxloiY2BU8PUPL/ciIus4FHM7rQII1RHg1sC6kvFecDB24T0V1wy4oTB3t/mDtgCM4ZBAP9luwaLWwhcedrVokS4BPNO3k27k6YXx7xm8nG6ijRbgFSKnnA3/FsOwiw9zqTHKC/5i5XC+xlNe6v7b1kSjacUZKN7mSv4QnssO+H+8kpCp0TaN6kViG4/iN6E5TvPtRdCuSQdP1x6vLumPL1ltUyqeO0aRAsG9puyxCxRjmn+U1UB8/Hx4=----ATTACHMENT:----MzMxNTUyODM4MTE5ODg5IDIwNzE2MjgyMjE2Mjg1MjMgNzc3ODgxNDAyNTc4NDAzOQ==