Showing 10 of 2,055 results.

getFallback() | The Laravel Translator

The getFallback() method is used to return the fallback locale that the translator is currently using. A fallback locale is used when a translation for a different locale cannot be found. 1 <?php 2 3 // Get a `Translator` instance from the...

getRootStructures | Workspaces

Returns the direct workspace structures. This method automatically performs structural analysis. Only structures that are at the root of a document, without any parent node, will be returned. 1 <?php 2 3 use Illuminate \ Support \ Collection ; 4 5...

getRootSwitchStatements | Workspaces

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 Illuminate \ Support \...

getRootConditions | Workspaces

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 \...

getRootForElse | Workspaces

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...