Showing 7 of 1,975 result(s)
Returns all the direct switch statements. This method automatically performs structural analysis. Only @switch statements that appear at the root of a document, without any parent nodes, will be returned. 1 <?php 2 3 use...
Returns all the root workspace conditions. This method automatically performs structural analysis. Only structures that appear at the root of the document, without any parent node, will be returned. 1 <?php 2 3 use Illuminate\Support\Collection...
Returns the direct for-else blocks. This method automatically performs structural analysis. Only nodes that appear at the root of a document, without any parent nodes, will be returned. 1 <?php 2 3 use Illuminate\Support\Collection ; 4 5...
Some attribute contents are sensitive to newlines, such as Alpine's x-data . To help address this in a general way, the Blade formatter allows you to configure a safeWrappingJsAttributes configuration property within your .blade.format.json file....
You can change which prettier options are applied to attribute content by adding a attributeJsOptions configuration object to your .blade.format.json file. For example, to increase the print width and disable the insertion of semicolons, you could...
The upper method is the opposite of the lower method and it takes a given value and returns the upper case variant. This method is useful when doing string comparisons. The signature for the upper helper method is: upper($value)
…retrieve the path to the directory the Laravel application is installed in. It can also be used to construct paths relative to the base path by supplying a $path . The following examples will assume that the Laravel application is installed in...