Showing 10 of 2,133 results.

getSelector() | The Laravel Translator

The getSelector() method returns the instance of \Symfony\Component\Translation\MessageSelector that the translator is currently using. If no MessageSelector has been previously set, a new instance of MessageSelector is created and returned.

addFile | Workspaces

Adds a single Blade template to the workspace. If the provided path does not end with a configured Blade extension, the file will not be added to the workspace. Argument Description $path The file path. 1 <?php 2 3 use Stillat \ BladeParser \...

getDocuments | Workspaces

Returns a collection of Document instances. 1 <?php 2 3 use Illuminate \ Support \ Collection ; 4 5 public function getDocuments ( ) : Collection ;

findDirectivesByName | Workspaces

Returns all directives with the provided name in the workspace. Argument Description $name The directive name to search 1 <?php 2 3 use Stillat \ BladeParser \ Nodes \ NodeCollection ; 4 5 public function findDirectivesByName ( 6 string $ name 7 )...

allOfType | Workspaces

Finds all nodes of the provided type. Argument Description $type The type to search. 1 <?php 2 3 use Stillat \ BladeParser \ Nodes \ NodeCollection ; 4 5 public function allOfType ( 6 string $ type 7 ) : NodeCollection ;

allNotOfType | Workspaces

Finds all nodes that are not of the provided type. Argument Description $type The type to search. 1 <?php 2 3 use Stillat \ BladeParser \ Nodes \ NodeCollection ; 4 5 public function allNotOfType ( 6 string $ type 7 ) : NodeCollection ;

setRounds($rounds) | Laravel's Bcrypt Hasher

The setRounds method is simple way to control how many rounds, or iterations the make method will use when calculating the final hash. An argument passed to $rounds must be a positive integer between 4 and 31 (including both 4 and 31 ). If an...

Laravel 5: Getting Array or Object Values With data_get

The data_get function is identical in behavior to both the array_get and object_get function. The difference is that the data_get function will accept both objects and arrays as its $target input value.The signature of the data_get function is: 1...