SnippetCollection
class SnippetCollection (View source)
The snippet collection.
Properties
static private | $snippets | An array for collection snippet definitions. |
Methods
static
add(string $name, string $body)
Add a snippet definition to the collection.
static string
get(string $name)
Get a snippet definition body.
static array
getCollection()
Get the full collection of snippet definitions.