View\Compiler: add @php and @endphp
This commit is contained in:
parent
d64b016637
commit
1d917f0151
1 changed files with 16 additions and 0 deletions
|
@ -505,4 +505,20 @@ EOD;
|
|||
{
|
||||
return "<?php break; ?>";
|
||||
}
|
||||
|
||||
/**
|
||||
* @php
|
||||
*/
|
||||
protected function compilePhp(): string
|
||||
{
|
||||
return "<?php";
|
||||
}
|
||||
|
||||
/**
|
||||
* @endphp
|
||||
*/
|
||||
protected function compileEndphp(): string
|
||||
{
|
||||
return " ?>";
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue