Showing 10 of 1,322 results.

has($key, $locale = null) | The Laravel Translator

…no es locale by default. The method call returns true because Laravel supports a fallback locale, which will be used to look up translations if a translation does not exist for a particular locale. The method call can be forced to return false by...

Laravel 5: Getting the First Element of an Array With head

The head is a simple wrapper around PHP's reset function. This function will return the first element of an array or false if the array is empty. This function does not modify the array.The signature of the head helper function is: 1 function head...

Reporting Issues | Getting Started

If you come across an issue, or have a suggestion to improve Antlers Toolbox, feel free to create an issue on the project's GitHub repository here: https://github.com/Stillat/vscode-antlers-language-server/issues If you are looking to report a...

Laravel Artisan General Command: The optimize Command

The optimize command optimizes various aspects to improve the performance of the Laravel application. The command provides two flags. The --force flag can be set to indicate that the compiled class file should be written (by default the compiled...

Testing Code Changes | Contributing

The language server contains a test suite that should be be run periodically when working on the language server's parsers, formatters, and related features. The test suite can be ran by issuing the following command from the root of the project:...

Laravel URL Helper Function: secure_asset

secure_asset($path) The secure_asset function will return a URI composed of the application's URI and the given $path . It internally makes a call to the asset (discussed in the Laravel URL Helper Function: asset article) helper function and...

Filter Search