setData() setData(array $data) : null Set data to the data source Parameters array $data Returns null
getCategories() getCategories() : array Returns the categories of the data Returns array — The categories
hasCategory() hasCategory(string $category) : boolean Returnnes whether or not the data has a category Parameters string $category The category to check Returns boolean — [description]
addDocument() addDocument(string $category, string $document) Adds a document by category to the data Parameters string $category The category of the document string $document The document