MAPG-177 add tests for View\Parser

This commit is contained in:
bence committed 2020-06-28 22:55:15 +02:00
1 parent 34f0c92eb5
commit 149003250c
9 files changed
+194

No files matched your search

+22
View File
@@ -0,0 +1,22 @@
@css(test1.css)
@js(test1.js)
@js(test2_<?= $some['expression'] ?>)
@extra
<?php phpinfo() ?>
@endextra
@extends(parent)
@section(section1)
<div>Test HTML with @extends - section 1</div>
@endsection
@section(section2)
<div>Test HTML with @extends - section 2</div>
@endsection
@extra
<?php $a = 'test_string' ?>
EXTRA
@endextra