Showing 7 of 1,975 result(s)
The wtf command is used to show details about the most recently thrown exception. When an exception is thrown, it is usually displayed in the console window with a red background stating that an exception has been thrown and the exception's...
Meerkat is an add-on that provides a flat-file comment system for Statamic sites; it was designed to be as familiar to users coming from WordPress as possible while also taking advantage of Statamic features. It is a commercial add-on; this is...
The after method can be used to return a part of a string after the first occurrence of a $search character. This method can be used to help parse URL query strings, or to quickly find substrings based on a certain character.The signature of the...
The random helper method generates a random string of the specified $length . This method internally uses the OpenSSL function openssl_random_pseudo_bytes , and therefore requires the OpenSSL extension to be installed and configured .
…used to check if a given $haystack ends with any of the supplied $needles . The $haystack is any value that can be cast into a string, and $needles is any value that can be cast into an array. If the $haystack ends with any of the $needles , the...
The addLines method can be used to add arbitrary translation lines to the translator's translation lines collection for the provided locale. This method can be used to add translation lines at runtime in response to dynamic conditions within your...
The isAssoc helper method can be used to determine if a given $array is an associative array or not. The provided documentation for the isAssoc method states that an array is associative if it does not have sequential numeric keys beginning with...