We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a54bb0 commit c38504dCopy full SHA for c38504d
tests/dotHelper.php
@@ -140,6 +140,19 @@ public function testMagicMethod()
140
$this->assertSame('bar', $dotHelper($object, 'foo'));
141
$this->assertSame('biz', call_user_func($dotHelper($object, 'bar')));
142
$this->assertSame(null, call_user_func($dotHelper($object, 'biz')));
143
+
144
+ $jsPhpize = new JsPhpize(array(
145
+ 'returnLastStatement' => true,
146
+ ));
147
+ $hello = $jsPhpize->render('__page.seo.title', array(
148
+ '__page' => array(
149
+ 'seo' => array(
150
+ 'title' => 'Hello',
151
+ ),
152
153
154
155
+ $this->assertSame('Hello', $hello);
156
}
157
158
public function testArrayAccess()
0 commit comments