Showing 7 of 2,041 result(s)
The following method calls are equivalent:
The getFormat is the logical opposite of the setFormat method. It simply returns the current format that is being used by the MessageBag instance.The signature of the getFormat method is: public function getFormat();The following examples...
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:
The getBags method is used to return an associative array containing all the MessageBag instances that are currently stored within the ViewErrorBag instance. After the above code has executed, the $messageBags variable would be an array and...
For example, the following signature could be used to accept a user's first and last name: Since the {firstName} and {lastName} input requirements were defined as parameters and do not define a default value, the command requires that arguments be...
The up command is used to take an application out of maintenance mode. It does this by removing a file named down from the application's framework storage directory (by default this is storage/framework/ ). This command performs the same action as...
startsWith does the opposite of ends_with , and has the same rules of use. Instead of checking if a given $haystack ends with any of the supplied $needles , startsWith checks if a given $haystack starts with any of the $needles .