$category
$category : mixed|\Charcoal\Object\CategoryInterface
The category the object belongs to.
Categorizable defines objects that can be associated to a category.
Basic implementation of \Charcoal\Object\CategorizableInterface.
$category : mixed|\Charcoal\Object\CategoryInterface
The category the object belongs to.
setCategoryType(string $type) : \Charcoal\Object\CategorizableInterface
Set the type of category the object can belong to.
string | $type | The category type. |
If the type argument is not a string.
Chainable
setCategory(mixed $category) : \Charcoal\Object\CategorizableInterface
Set the category the object belongs to.
mixed | $category | The object's category. |
Chainable