Showing 7 of 1,975 result(s)
The parseCallback helper method is a fairly simple method, even though it serves a somewhat specialized purpose. The following syntax for class names and method names can be found utilized throughout the Laravel framework: ClassName@someMethodName...
bcrypt($value, $options = []) The bcrypt function will return a hashed representation of the given $value . The bcrypt function also accepts an array of $options which can be used to affect how the hash is computed. Each invocation of the bcrypt...
whereLoose($key, $value) The whereLoose method operates similar to the where method. It filters the collection item's by checking that the given $key has some value equal to the provided $value . The whereLoose method does not check to make sure...
The ls command is a useful command that can be used to learn more any class or instantiated object. It is capable of listing any defined variables, constants, functions, classes, interfaces, traits, properties and methods that might be defined in...
parseCallback is a fairly simple method, even though it serves a somewhat specialized purpose. The following syntax for class names and method names can be found utilized throughout the Laravel framework: ClassName@someMethodName The point is that...
We could also create a range for all numbers less than zero: The following table lists some sample input and output: Input Number Result -1 Less than zero 0 No items 2 Between one and three 3 Between one and three 4 Between four and six 6 Between...
Let's use the following class to describe a person: We can create an array of people like so: At this point all we have is a simple Person class definition an array of person objects, called $people . However, it would be really useful if we had...