Showing 10 of 2,133 results.

Node Compilation | The Validate Command

Class : NodeCompilationValidator The node compilation validator checks the compiled output of echo statements and PHP blocks for any PHP syntax errors. The following template: 1 {{ $ hello ++++ }} 2 3 4 {{ $ world ++ + }} produces these validation...

Prettier 2 | Prettier Plugin Installation

If you are using Prettier 2, you must use version 1 of prettier-plugin-blade : 1 npm install prettier-plugin-blade@^1 After installing prettier-plugin-blade in your project, you can add the following to your project's .prettierrc file: 1 { 2 "...

setLocale($locale) | The Laravel Translator

The setLocale method is used to set the locale that the translator should use. It accepts only one parameter $locale , which is the locale that should be set. By default, it is set to the value defined for locale in the app.php configuration file.

Prettier 2 Plugin | Formatting

If your project still relies on Prettier 2 you must ensure that you install version 1 of the prettier-plugin-antlers plugin. 1 npm install prettier-plugin-antlers@^1 --save-dev Once the plugin is installed you will need to modify your projects...

getAllStructures | Workspaces

Returns all the workspace structures. This method automatically performs structural analysis on a document. 1 <?php 2 3 use Illuminate \ Support \ Collection ; 4 5 public function getAllStructures ( ) : Collection ;