Showing 10 of 2,044 results.

Generating Images for a Single Entry | Generating Images

To regenerate images for a single entry using the command line we can pass the ID of the entry as the first argument to the generate-images command: 1 php artisan social-media-image-kit:generate-images the-id-here --regen

Inconsistent Directive Indentation | The Validate Command

Class : InconsistentIndentationLevelValidator The inconsistent directive spacing validator may be used to emit validation errors when a pair's opening and closing directives do not have the same indentation. The following template: 1 @if ( $ this...

Adding Our Conditional Check | Laravel Paginator Pretty URLs

…age's URL: 1 ... 2 return $ pageUrl ; 3 ... That's the changes we need to make to the getUrl($page) function. There are still some things we need to do to make it useful. When we use Laravel's Paginator::make() function, we are calling the make()...

Example Use | Laravel 5 Fluent API: The Public API

Retrieving values from a Fluent instance: 1 $ fluent = new Fluent ( $ testArray ) ; 2 3 // The first value 4 $ message = $ fluent -> get ( ' first ' ) ; 5 6 $ fluent = new Fluent ( $ testObject ) ; 7 8 // The first value 9 $ message = $ fluent ->...

se_current_view Tag | se_current_view Tag

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 / }}

se_current_view:start Tag | se_current_view Tag

The se_current_view:start tag will output a <!-- START: --> HTML comment with the current relative view path. This tag does nothing when the site is in production mode. 1 {{ se_current_view : start / }}

se_current_view:end Tag | se_current_view Tag

The se_current_view:end tag will output a <!-- END: --> HTML comment with the current relative view path. This tag does nothing when the site is in production mode. 1 {{ se_current_view : end / }}

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 -->...