Signature | Laravel 5: Managing HTTP Cookies With cookie
The signature of the cookie function is: 1 function cookie ( 2 $ name , 3 $ value , 4 $ minutes , 5 $ path , 6 $ domain , 7 $ secure , 8 $ httpOnly , 9 $ raw , 10 $ sameSite 11 ) ;
Showing 10 of 2,133 results.
The signature of the cookie function is: 1 function cookie ( 2 $ name , 3 $ value , 4 $ minutes , 5 $ path , 6 $ domain , 7 $ secure , 8 $ httpOnly , 9 $ raw , 10 $ sameSite 11 ) ;
The signature of the url function is: 1 2 function url ( ) ; 3 4 function url ( 5 $ path = null , 6 $ parameters = [ ] , 7 $ secure = null 8 ) ;
With Meerkat, it is simple to add additional form attributes to your Meerkat forms. The following example demonstrates how to add a custom HTML data attribute and a CSS class: 1 {{ meerkat : create class = " w-full " data-attribute = " my-value "...
Since we are trying to get everything to work nicely with Kint, we should probably have Kint required in our project. Add this to your composer.json file (either in your require or require-dev section. I put mine in the require-dev section): 1 ......
…allows you to filter comments to those that appear after a certain date. It accepts either a UNIX timestamp, or the date as text input. The following example would return all comments that were submitted to the server after January 1st, 1990:...
The signature for the bcrypt function is: 1 function bcrypt ( 2 $ value , 3 $ options = [ ] 4 ) ;
The count method returns the total number of messages stored within the MessageBag instance. The count method exists to satisfy the requirements of PHP's Countable interface.The signature of the count method is: 1 public function count ( ) ;The...
Tests if the document contains any node of the provided type. Argument Description $type The desired type. 1 <?php 2 3 public function hasAnyOfType ( 4 string $ type 5 ) : bool ;
The any method returns a boolean value indicating if the MessageBag instance actually has any messages. The method returns true if the instance has messages, otherwise it returns false .The signature of the any method is: 1 public function any ( )...
Class : NoArgumentsValidator The no directive arguments validator emits a validation error when directive's that should not contain arguments have arguments in the template. The following template: 1 @ endphp ( $ args ) will emit the following...