Showing 10 of 2,133 results.

Learning More | Configuring the Blueprint

Statamic's blueprint system is pretty expansive; it is highly recommended that you review their documentation of the feature by visiting https://statamic.dev/blueprints .

Error Contexts | Parser Errors

The following error contexts are available: Error Context Code Echo 001 Comment 002 Verbatim 003 Directive Arguments 004 Blade PHP Block 005 Component Tag 006 Raw Echo 007 Triple Echo 008 PHP Short Open Tag ( <?= ) 009 PHP Open Tag ( <?php ) 010...

Example Use | Laravel 5 String Helpers: ends_with global helper

1 use Illuminate \ Support \ Str ; 2 3 // true 4 Str :: endsWith ( ' A simple sentence. ' , ' . ' ) ; 5 6 // false 7 Str :: endsWith ( ' No punctuation here ' , ' . ' ) ; 8 9 // false 10 Str :: endsWith ( ' Case matters ' , ' S ' ) ; 11 12 // true...

Artisan Commands

Tidal, and its dependencies provide Artisan commands to help simplify the administration and management of your site. The following table provides a quick reference of the most commonly used commands: Command Description...

compile | Compiling Documents

Compiles the current document. Compiles the current document to PHP. The compiler instance used internally is constructed by calling the CompilerFactory::makeCompiler() static method. 1 <?php 2 3 use ? Stillat \ BladeParser \ Document \...

Fluent and Closures | Laravel Fluent Part Two: The Public API

If we look at the following code example, one might be tempted to say that the value of $message would be Hello, world! , but that would be incorrect: 1 <?php 2 3 $ testObject = new stdClass ; 4 $ testObject -> method = function ( ) { 5 return '...

Filter Search