NaifyViewExtension\Dialect\Twig\TwigExpressionRootRewriter クラス
Ordinary Twig reads are Native data paths; only PHP method receivers require a grant.
メソッド
| メソッド | 説明 |
|---|---|
public
static
rewrite(string $expression, array $localNames): string
|
String literals must already be replaced with converter placeholders. |
private
static
hasMethodStep(string $expression, int $offset): bool
|
Follow member/index steps without treating calls inside an index as root methods. |