Search

Showing 7 of 1,975 result(s)

/documentation-search/v1/search-results-tag#content-available-variables

…on of an entry (based on headings), this will contain the heading's inner text., search_url, : The link to either the entry, in the case of the entry's leading content, or a, #, link to an individual section. Links to individual sections is based...

/attribute-renderer-for-statamic/v1/introduction-installation#content-skippableignorable-properties

By default, Attribute Renderer will emit empty strings if a value returns null : 1 <?php 2   3 use function Stillat\StatamicAttributeRenderer\attributes ; 4   5 attributes ([ 6 'name' => 'author' , 7 'content' => '$name' 8 ]); produces: 1 name =...

/blog/2016/11/29/laravel-collection-public-api-lists

lists($value, $key = null) The lists method is an alias of the pluck method. The lists method is used to retrieve the a list of values from the collection. It defines two parameters: $value and $key . The $value indicates which property should...

/blog/2016/12/07/laravel-task-scheduler-an-introduction#content-scheduling-callbacks

It is possible to schedule a function to execute at a given interval using the schedule's call method: Internally, the scheduling system will create a new instance of Illuminate\Console\Scheduling\CallbackEvent to represent the task within the...

/blog/2018/04/11/laravel-5-ensuring-a-value-is-an-array-with-wrap#content-example-use

In the introduction of this section, we saw this example code: We could do the same thing using the wrap method like so: The Arr::wrap method will not do anything to the input $value if it is already an array. We can round this section out by...

/blog/2021/02/20/integrating-laravel-spark-and-statamic-3#content-improving-our-registration-page

Right now, if a user attempts to register without providing a name they will receive an error. This happens because our users database table has the name column set to non-nullable. We could update our migrations and start over there, instead we...

/blog/2016/11/29/laravel-collection-public-api-filter

filter(callable $callback = null) The filter method applies a filter to the collection. An optional $callback can be supplied to the filter method. If no $callback is supplied to the filter method, any value in the collection that evaluates to...