Neos\Eel\Tests\Unit\CompilingEvaluatorTest::doubleQuotedStringLiteralVariablesAreEscaped PHP Méthode

doubleQuotedStringLiteralVariablesAreEscaped() public méthode

    public function doubleQuotedStringLiteralVariablesAreEscaped()
    {
        $context = new Context('hidden');
        $this->assertEvaluated('some {$context->unwrap()} string with \'quoted stuff\'', '"some {$context->unwrap()} string with \'quoted stuff\'"', $context);
    }