当前位置: 首页>>代码示例>>PHP>>正文


PHP Base::__construct方法代码示例

本文整理汇总了PHP中OC\Core\Command\Base::__construct方法的典型用法代码示例。如果您正苦于以下问题:PHP Base::__construct方法的具体用法?PHP Base::__construct怎么用?PHP Base::__construct使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在OC\Core\Command\Base的用法示例。


在下文中一共展示了Base::__construct方法的14个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1:

 function __construct(GlobalStoragesService $globalService, IUserManager $userManager, IGroupManager $groupManager)
 {
     parent::__construct();
     $this->globalService = $globalService;
     $this->userManager = $userManager;
     $this->groupManager = $groupManager;
 }
开发者ID:GitHubUser4234,项目名称:core,代码行数:7,代码来源:Applicable.php

示例2:

 function __construct(GlobalStoragesService $globalService, UserStoragesService $userService, IUserSession $userSession, IUserManager $userManager)
 {
     parent::__construct();
     $this->globalService = $globalService;
     $this->userService = $userService;
     $this->userSession = $userSession;
     $this->userManager = $userManager;
 }
开发者ID:rchicoli,项目名称:owncloud-core,代码行数:8,代码来源:Delete.php

示例3:

 function __construct(GlobalStoragesService $globalService, UserStoragesService $userService, IUserSession $userSession, IUserManager $userManager, ImportLegacyStoragesService $importLegacyStorageService, BackendService $backendService)
 {
     parent::__construct();
     $this->globalService = $globalService;
     $this->userService = $userService;
     $this->userSession = $userSession;
     $this->userManager = $userManager;
     $this->importLegacyStorageService = $importLegacyStorageService;
     $this->backendService = $backendService;
 }
开发者ID:GitHubUser4234,项目名称:core,代码行数:10,代码来源:Import.php

示例4: __construct

 /**
  * @param SystemConfig $systemConfig
  */
 public function __construct(SystemConfig $systemConfig)
 {
     parent::__construct();
     $this->systemConfig = $systemConfig;
 }
开发者ID:farukuzun,项目名称:core-1,代码行数:8,代码来源:setconfig.php

示例5: __construct

 /**
  * @param IManager $encryptionManager
  */
 public function __construct(IManager $encryptionManager)
 {
     parent::__construct();
     $this->encryptionManager = $encryptionManager;
 }
开发者ID:samj1912,项目名称:repo,代码行数:8,代码来源:listmodules.php

示例6: __construct

 /**
  * @param IConfig $config
  */
 public function __construct(IConfig $config)
 {
     parent::__construct();
     $this->config = $config;
 }
开发者ID:kenwi,项目名称:core,代码行数:8,代码来源:deleteconfig.php

示例7:

 function __construct(BackendService $backendService)
 {
     parent::__construct();
     $this->backendService = $backendService;
 }
开发者ID:ZverAleksey,项目名称:core,代码行数:5,代码来源:backends.php

示例8: __construct

 public function __construct(Checker $checker)
 {
     parent::__construct();
     $this->checker = $checker;
 }
开发者ID:ZverAleksey,项目名称:core,代码行数:5,代码来源:checkapp.php

示例9: __construct

 public function __construct(Manager $manager, UserManager $userManager)
 {
     parent::__construct('twofactorauth:enable');
     $this->manager = $manager;
     $this->userManager = $userManager;
 }
开发者ID:rchicoli,项目名称:owncloud-core,代码行数:6,代码来源:Enable.php

示例10: __construct

 public function __construct(ICertificateManager $certificateManager)
 {
     $this->certificateManager = $certificateManager;
     parent::__construct();
 }
开发者ID:gvde,项目名称:core,代码行数:5,代码来源:removecertificate.php

示例11: __construct

 public function __construct(IUserManager $userManager)
 {
     $this->userManager = $userManager;
     parent::__construct();
 }
开发者ID:GitHubUser4234,项目名称:core,代码行数:5,代码来源:Scan.php

示例12:

 function __construct(GlobalStoragesService $globalService)
 {
     parent::__construct();
     $this->globalService = $globalService;
 }
开发者ID:rchicoli,项目名称:owncloud-core,代码行数:5,代码来源:Config.php

示例13: __construct

 public function __construct(ICertificateManager $certificateManager, IL10N $l)
 {
     $this->certificateManager = $certificateManager;
     $this->l = $l;
     parent::__construct();
 }
开发者ID:kenwi,项目名称:core,代码行数:6,代码来源:listcertificates.php

示例14: __construct

 /**
  * @param IAppManager $manager
  */
 public function __construct(IAppManager $manager)
 {
     parent::__construct();
     $this->manager = $manager;
 }
开发者ID:farukuzun,项目名称:core-1,代码行数:8,代码来源:listapps.php


注:本文中的OC\Core\Command\Base::__construct方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。