Showing 7 of 1,975 result(s)
The signature of the setLocale method is:
The sort helper method will allow you to sort the given $array based on some condition returned by the $callback . The method works by iterating over all the values in the $array and passing the values it finds into the $callback function. It then...
The factory function is used to create Eloquent models, and is generally used when testing an application to generate sample data.The signature of the factory function is:The factory method can generally take one of four forms:
The class_basename function will return the name of the class represented by the provided value.The signature of the class_basename function is:The class_basename will return the base name of the given $class . The examples that follow will use...
…rties from a given $object using dot notation. This is useful in situations where it can not be guaranteed that a provided object will have a given property, identified by the given $key .The signature of the object_get function is:The following...
Here's a list of the best practices you should follow while developing software products to ensure security.
Bard Heading Permalinks for Statamic is a simple addon that can generate permalinks for headings within Bard fields. This addon is compatible with Statamic's markdown permalink configuration. Bard Heading Permalinks for Statamic GitHub