Skip to content

Commit

Permalink
Legacy support for categoryItemType()
Browse files Browse the repository at this point in the history
  • Loading branch information
mducharme committed Jul 31, 2019
1 parent f361bcb commit f7f1969
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/Charcoal/Object/CategoryTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,16 @@ public function getCategoryItemType()
return $this->categoryItemType;
}

/**
* Legacy support for old-style getter.
*
* @return string
*/
public function categoryItemType()
{
return $this->categoryItemType();
}

/**
* Gets the number of items, directly within this category.
*
Expand Down

0 comments on commit f7f1969

Please sign in to comment.