1: <?php
2:
3: namespace Charcoal\Ui\MenuItem;
4:
5: use \Charcoal\Factory\ResolverFactory;
6:
7: /**
8: * Menu Item Factory
9: */
10: class MenuItemFactory extends ResolverFactory
11: {
12: /**
13: * @return string
14: */
15: public function baseClass()
16: {
17: return '\Charcoal\Ui\MenuItem\MenuItemInterface';
18: }
19:
20: /**
21: * @return string
22: */
23: public function defaultClass()
24: {
25: return '\Charcoal\Ui\MenuItem\GenericMenuItem';
26: }
27:
28: /**
29: * @return string
30: */
31: public function resolverSuffix()
32: {
33: return 'MenuItem';
34: }
35: }
36: