示例#1
0
 /** @return AppFactory */
 public static function get(App $app = null)
 {
     return GroutFactory::_getInstance($app, __CLASS__, 'AppModule', 'AppModule');
 }
 /** @return ManagedFactory */
 public static function get(App $app = null, $moduleId = null)
 {
     /** @var ManagedFactory $factory */
     $factory = GroutFactory::_getInstance($app, __CLASS__, $moduleId, 'Cyantree\\ManagedModule');
     return $factory;
 }
示例#3
0
 /** @return AclFactory */
 public static function get(App $app = null, $context = null, $module = 'Cyantree\\AclModule')
 {
     return GroutFactory::_getInstance($app, __CLASS__, $context, $module);
 }