src/Twig/TerrificCompiler.php
/**
   * Compiles & adds GetAttrExpression as a variable.
   *
   * To the Terrific Twig context.
   *
   * @param \Twig\Node\Expression\GetAttrExpression $expression
   *   The expression to compile.
   * @param string|null $variableDoesNotExistErrorMessage
   *   Custom error message that is used as exception message
   *   when the given variable does not exist.
   */
Compiles & adds GetAttrExpression as a variable.
To the Terrific Twig context.

@param \Twig\Node\Expression\GetAttrExpression $expression
The expression to compile.
@param string|null $variableDoesNotExistErrorMessage
Custom error message that is used as exception message
when the given variable does not exist.
Compiles & adds GetAttrExpression as a variable . To the Terrific Twig context . @param \ Twig \ Node \ Expression \ GetAttrExpression $expression The expression to compile . @param string|null $variableDoesNotExistErrorMessage Custom error message that is used as exception message when the given variable does not exist .
public function compileAndMergeGetAttrExpressionToContext(GetAttrExpression $expression, ?string $variableDoesNotExistErrorMessage = NULL): void {
    $variableAndArrayKeys = $this->getExpressionHandler()->buildGetAttrExpressionArrayKeyPair($expression);
    $this->compileAndMergeVariableToContext($variableAndArrayKeys, $variableDoesNotExistErrorMessage);
  }
public function compileAndMergeGetAttrExpressionToContext ( GetAttrExpression $ expression , ? string $ variableDoesNotExistErrorMessage = NULL ) : void { $ variableAndArrayKeys = $ this -> getExpressionHandler ( ) -> buildGetAttrExpressionArrayKeyPair ( $ expression ) ; $ this -> compileAndMergeVariableToContext ( $ variableAndArrayKeys , $ variableDoesNotExistErrorMessage ) ; }
Compiles & adds GetAttrExpression as a variable.
Compiles & adds GetAttrExpression as a variable .