Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Compiler.php

function Compiler::raw

Adds a raw string to the compiled code.

Return value

$this

1 call to Compiler::raw()
Compiler::repr in vendor/twig/twig/src/Compiler.php
Returns a PHP representation of a given value.

File

vendor/twig/twig/src/Compiler.php, line 116

Class

Compiler
@author Fabien Potencier <fabien@symfony.com>

Namespace

Twig

Code

public function raw(string $string) {
    $this->checkForEcho($string);
    $this->source .= $string;
    return $this;
}
RSS feed
Powered by Drupal