Showing 10 of 2,142 results.

Index Configuration

Configuring a search index using Documentation Search is largely the same as configuring a regular Statamic search index . The only things to consider when configuring additional search indexes utilizing Documentation Search's search provider is...

The user:in Filter | The Auth & User Filters

The user:in filter allows you to filter comments based on if the authenticated user identifier is present in the provided list of user identifiers. The following example would return only those comments left by an authenticated Statamic user who's...

Laravel 5: Conditionally Throwing Exceptions With throw_unless

The throw_unless helper function is the logical counterpart to the throw_if helper function. If the provided $boolean value evaluates to false , a new instance of the provided exception will be created and thrown. Any parameters specified will be...

Laravel Collection Public API: collapse

collapse The collapse method combines all the first-level items of a collection into a new, single collection. The returned value of the collapse method is an instance of the Collection class. We will create a simple collection to work with like...

0. Definitions. | License

“This License” refers to version 3 of the GNU General Public License. “Copyright” also means copyright-like laws that apply to other kinds of works, such as semiconductor masks. “The Program” refers to any copyrightable work licensed under this...