Showing 7 of 1,975 result(s)
…error page's template. When referencing a public assets in this way we need to be sure to prefix the asset paths with / so that they are resolved relative to the site's domain name: If you have changed the name of your build files, make sure to...
Ah, here we go. How would you rank content in such a guidance engine? Well, the content is already heavily curated. Because of that there really wouldn't be too much of a need for pages to obsessively compete with each other (they still would, but...
The setSelector method sets a Symfony\Component\Translation\MessageSelector instance ( $selector ) for the Translator . The MessageSelector instance is used by the choice and transChoice methods for loading the correct translation message based on...
The setBarCharacter method is used to change the which character is used to represent which steps have already been completed. On Windows systems this character is = by default. The following examples demonstrate how to change the bar character....
The contains method defines two parameters: $key and $value . The $value parameter has a default value of null , however, the two method calls are not the same: Even though the two examples return true , the second example is functionally not...
The first method is used to get the first item in a collection, or to get the first item in a collection that matches a set of criteria. A $callback can be supplied to return the first item in the collection that matches a given truth test....
The pull method will remove an item from the collection whilst returning its value. If the item is not in the collection, the optional $default value will be returned. The pull method will modify the original collection.The following example...