Showing 10 of 2,133 results.

Example Use | Laravel 5.5 String Helper Method: title

1 use Illuminate \ Support \ Str ; 2 3 // This Is A Title 4 echo Str :: title ( ' THIS IS A TITLE ' ) ; 5 6 // This Is A Title 7 echo Str :: title ( ' this is a title ' ) ; 8 9 // This Is A Title 10 echo Str :: title ( ' ThIs Is a tItle ' ) ;

getComments | Workspaces

Retrieves all Blade comments in the workspace. 1 <?php 2 3 use Stillat \ BladeParser \ Nodes \ NodeCollection ; 4 5 public function getComments ( ) : NodeCollection ;

getEchoes | Workspaces

…atements from the workspace. Echo nodes are created after parsing the following types of syntax: Normal echo:, {{ $variable }}, Triple echo:, {{{ $variable }}}, Raw Echo:, {!! $variable !!} 1 <?php 2 3 use Stillat \ BladeParser \ Nodes \...

getDirectives | Workspaces

…e document. Some directive pairs, such as the @php / @endphp and @verbatim / @endverbatim pairs will not result in an instance of DirectiveNode , as they are handled by the parser directly. 1 <?php 2 3 use Stillat \ BladeParser \ Nodes \...

getAllSwitchStatements | Workspaces

Returns all the workspaces' switch statements. This method automatically performs structural analysis. 1 <?php 2 3 use Illuminate \ Support \ Collection ; 4 5 public function getAllSwitchStatements ( ) : Collection ;

getAllForElse | Workspaces

Returns all the workspace for-else blocks. This method automatically performs structural analysis. 1 <?php 2 3 use Illuminate \ Support \ Collection ; 4 5 public function getAllForElse ( ) : Collection ;

se_each Modifier

The se_each modifier can be used to render another template for each item within an array. The rendered template will receive the full context scope at the time the modifier was invoked, as well as the data from the item being iterated. 1 {{#...

fake() | Laravel 5 Facades

The fake method will swap the currently bound notification channel manager instance with a fake; this is incredibly useful for testing purposes. The fake notification manager instance, by default, is an instance of...

se_current_view:wrap Tag | se_current_view Tag

The se_current_view:wrap tag will is a helper tag that combines the se_current_view:start and se_current_view:end functionality. This tag is intended to be used as a tag pair, and will wrap the contents of the tag in <!-- START --><!-- END -->...

getValidatorCount | Validating Blade

Returns the total number of validator instances registered with BladeValidator instance. 1 <?php 2 3 public function getValidatorCount ( ) : int ;