Showing 10 of 1,090 results.

Registering Default Metadata | Overview

In the previous code sample, we saw a call to the withDefaults method. This method will register a number of common metadata entries for us. Specifically, it is equivalent to the following: 1 <?php 2 3 use Stillat \ StatamicSiteEssentials \...

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 ' ) ;

Filter Search