Showing 7 of 2,041 result(s)
In this article, I thought it would be fun to look behind the scenes at how both the Antlers and Blade formatters work. We will look at examples from both formatters since they essentially employ the same strategy to format source documents.
The is filters provide specialized filters for targeting specific comment properties, or a range of properties;
The se_current_view tag provides various utilities to retrieve information about the view currently being rendered. For example, it is capable of returning the current relative view path, as well as outputting <!-- START: --> and <!-- END: -->...
When used by itself, the se_current_view tag will output the relative path of the view currently being rendered: 1 {{# Output the relative path of the current view. #}} 2 {{ se_current_view / }}
Social Media Image Kit will fire events at various points during the image generation process. You may listen for these events if you need to respond to them to implement more complex logic:
Gets the document's file path. 1 <?php 2 3 public function getFilePath () : string ;
Gets the directive names. 1 <?php 2 3 public function getDirectiveNames () : array ;