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