Search

Showing 7 of 2,041 result(s)

/blade-parser/v1/the-validate-command#content-directive-arguments-line-span

Class : DirectiveArgumentsSpanningLinesValidator The line-span validator emits a validation error when the directive's arguments span more than a specified number of lines. The following template: 1 @if ($something 2 == $this && 3 'this' == 'that'...

/blog/2016/12/07/laravel-artisan-general-command-the-up-command

The up command is used to take an application out of maintenance mode. It does this by removing a file named down from the application's framework storage directory (by default this is storage/framework/ ). The following demonstrates the usage of...

/blog/2017/11/30/laravel-55-string-helper-method-kebab#content-example-use

Here are a few examples with the result above the function call in comments: The kebab helper method is simply a wrapper around the snake helper method. Calling kebab($value) is equivalent to calling snake($value, '-') .

/blog/2017/11/30/laravel-55-string-helper-method-snake#content-example-use

Here are a few examples with the result above the function call in comments:

/blog/2017/11/30/making-sure-strings-start-with-a-given-value-in-laravel-laravel-55-string-helper-method-start

The start helper method will make sure that a given $value always begin with exactly one occurrence of the $prefix . This helper method can be used to help generate absolute URLs from relative path names. The $prefix can be any string value.

/blog/2018/04/11/laravel-5-adding-or-setting-new-array-element-values-with-set#content-replacing-the-array-with-a-completely-different-type

Since the set function will give the $array whatever the $value is when the $key is null , the original type of the variable can be changed completely. For example, setting the $array to null: Setting the $array to 100 :