-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add the possibility to use the native IDE autocompletion to list all …
…helpers at once and call them as a simple function. To activate this feature in your favorite IDE: add in each view file: /** @var $this PhpEcho */ as the first line of code and normally the magic works. So this is now equivalent: <?= $this('$hsc', 'any value to escape') ?> <?= $this->hsc('any value to escape') ?> For the second version, you get the direct access through autocompletion.
- Loading branch information
Showing
2 changed files
with
29 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters