Showing 10 of 2,055 results.

8. Termination. | License

…xcept as expressly provided under this License. Any attempt otherwise to propagate or modify it is void, and will automatically terminate your rights under this License (including any patent licenses granted under the third paragraph of section...

Laravel Miscellaneous Helper Function: with

with($object) The with function will simply return the supplied $object . This function can be used to invoke methods on new class instances that are passed as function arguments: 1 <?php 2 3 class ExampleClass { 4 5 public function someMethod ( )...

include | Blade Compiler

Register an include alias directive. This method has the same behavior as the Illuminate\View\Compilers\BladeCompiler::include method. You do not need to manually call this method to sync compiler information if you use the default compiler...

aliasInclude | Blade Compiler

Register an include alias directive. This method has the same behavior as the Illuminate\View\Compilers\BladeCompiler::aliasInclude method. You do not need to manually call this method to sync compiler information if you use the default compiler...

aliasComponent | Blade Compiler

Register a component alias directive. This method has the same behavior as the Illuminate\View\Compilers\BladeCompiler::aliasComponent method. You do not need to manually call this method to sync compiler information if you use the default...

setExtensions | Blade Compiler

Sets and overrides all compiler extensions. This method will override any extension that had been previously registered with the extend method. In default setups, this is set to the return value of...

Example Use | Laravel 5: String Translation Public API

In the following example, we will check if various translation lines have been defined for different locales. The results of the operation will appear above the method call as either true or false . The following examples will assume the following...

Example Use | Laravel 5: Encoding HTML With the "e" Helper Function

Let's assume that a malicious user was posting on a forum and set the subject of their post to this: 1 < script > alert ( " hello everyone " ) ; < / script > If the forum software did not sanitize user output, perfectly valid JavaScript code would...

8. Termination. | License

…xcept as expressly provided under this License. Any attempt otherwise to propagate or modify it is void, and will automatically terminate your rights under this License (including any patent licenses granted under the third paragraph of section...