Showing 7 of 1,975 result(s)
Set the echo format to be used by the compiler. This method has the same behavior as the Illuminate\View\Compilers\BladeCompiler::setEchoFormat method. You do not need to manually call this method to sync compiler information if you use the...
Set the "echo" format to double encode entities. This method has the same behavior as the Illuminate\View\Compilers\BladeCompiler::withDoubleEncoding method. You do not need to manually call this method to sync compiler information if you use the...
…your development machine and the production environment is the server where your end users access the application. Using environments, our Laravel 4 application can automatically change to a different database server or use a different cache...
…unction will abort execution of the application. The following example assumes that some $user object exists with the property admin . The example will check to make sure that the admin property is true . If not, the code will abort with a 401...
The make:middleware command is used to generate a middleware class. It accepts a name that will be used as the name of the newly generated class and file. Generated classes are stored within the app/Http/Middleware directory. The following example...
You may have noticed that there are many different sizes of "post images" on this site. One of the first versions of the site that I built used an image with the same dimensions for each place a blog post might appear. For example, on the home...
The following code example will show the very basic usage of the data_set function: Because the $overwrite property is set to true by default the first_name item will now contain the value Jill . If we modified the example to look like this: The...