• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

PHP Core\Version类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了PHP中App\Core\Version的典型用法代码示例。如果您正苦于以下问题:PHP Version类的具体用法?PHP Version怎么用?PHP Version使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



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

示例1: __construct

 /**
  * @param Version  $version
  * @param Guard    $auth
  * @param DbLogger $dbLogger
  * @param Logger   $logger
  */
 public function __construct(Version $version, Guard $auth, DbLogger $dbLogger, Logger $logger)
 {
     $this->auth = $auth;
     $this->logger = $logger;
     $this->dbLogger = $dbLogger;
     $this->transactionRepo = $version->getActivityElement()->getTransaction()->getRepository();
 }
开发者ID:younginnovations,项目名称:aidstream,代码行数:13,代码来源:TransactionManager.php


示例2: __construct

 /**
  * @param Version         $version
  * @param Log             $dbLogger
  * @param Guard           $auth
  * @param LoggerInterface $logger
  */
 public function __construct(Version $version, Log $dbLogger, Guard $auth, LoggerInterface $logger)
 {
     $this->auth = $auth;
     $this->dbLogger = $dbLogger;
     $this->logger = $logger;
     $this->iatiLegacyRepo = $version->getActivityElement()->getLegacyData()->getRepository();
 }
开发者ID:younginnovations,项目名称:aidstream,代码行数:13,代码来源:LegacyDataManager.php


示例3:

 /**
  * @param Version $version
  * @param Log     $log
  * @param Guard   $auth
  */
 function __construct(Version $version, Log $log, Guard $auth)
 {
     $this->repo = $version->getOrganizationElement()->getDocumentLink()->getRepository();
     $this->version = $version;
     $this->log = $log;
     $this->auth = $auth;
 }
开发者ID:younginnovations,项目名称:aidstream,代码行数:12,代码来源:DocumentLinkManager.php


示例4: __construct

 /**
  * @param Version  $version
  * @param DbLogger $dbLogger
  * @param Guard    $auth
  * @param Logger   $logger
  */
 public function __construct(Version $version, DbLogger $dbLogger, Guard $auth, Logger $logger)
 {
     $this->auth = $auth;
     $this->dbLogger = $dbLogger;
     $this->logger = $logger;
     $this->iatiPolicyMarkerRepo = $version->getActivityElement()->getPolicyMarker()->getRepository();
 }
开发者ID:younginnovations,项目名称:aidstream,代码行数:13,代码来源:PolicyMarkerManager.php


示例5:

 /**
  * @param Version $version
  * @param Log     $log
  * @param Guard   $auth
  */
 function __construct(Version $version, Log $log, Guard $auth)
 {
     $this->repo = $version->getOrganizationElement()->getRecipientCountryBudget()->getRepository();
     $this->auth = $auth;
     $this->log = $log;
     $this->version = $version;
 }
开发者ID:younginnovations,项目名称:aidstream,代码行数:12,代码来源:RecipientCountryBudgetManager.php


示例6: __construct

 /**
  * @param Version         $version
  * @param Guard           $auth
  * @param DatabaseManager $database
  * @param Logger          $logger
  */
 public function __construct(Version $version, Guard $auth, DatabaseManager $database, Logger $logger)
 {
     $this->stepTwoRepo = $version->getActivityElement()->getStepTwo()->getRepository();
     $this->auth = $auth;
     $this->logger = $logger;
     $this->database = $database;
 }
开发者ID:younginnovations,项目名称:aidstream,代码行数:13,代码来源:StepTwoManager.php


示例7: __construct

 /**
  * @param Version $version
  * @param Log     $log
  * @param Guard   $auth
  */
 public function __construct(Version $version, Log $log, Guard $auth)
 {
     $this->auth = $auth;
     $this->log = $log;
     $this->version = $version;
     $this->iatiTitleRepo = $version->getActivityElement()->getTitle()->getRepository();
 }
开发者ID:younginnovations,项目名称:aidstream,代码行数:12,代码来源:TitleManager.php


示例8: __construct

 /**
  * @param Version $version
  * @param Log     $log
  * @param Guard   $auth
  */
 public function __construct(Version $version, Log $log, Guard $auth)
 {
     $this->auth = $auth;
     $this->log = $log;
     $this->iatiDescriptionRepo = $version->getActivityElement()->getdescription()->getRepository();
     $this->activityRepo = $version->getActivityElement()->getRepository();
 }
开发者ID:younginnovations,项目名称:aidstream,代码行数:12,代码来源:DescriptionManager.php


示例9:

 /**
  * @param Version $version
  * @param Log     $log
  * @param Guard   $auth
  */
 function __construct(Version $version, Log $log, Guard $auth)
 {
     $this->repo = $version->getActivityElement()->getOtherIdentifier()->getRepository();
     $this->auth = $auth;
     $this->log = $log;
     $this->version = $version;
 }
开发者ID:younginnovations,项目名称:aidstream,代码行数:12,代码来源:OtherIdentifierManager.php


示例10: __construct

 /**
  * @param Version         $version
  * @param Guard           $auth
  * @param DatabaseManager $database
  * @param Logger          $logger
  */
 public function __construct(Version $version, Guard $auth, DatabaseManager $database, Logger $logger)
 {
     $this->auth = $auth;
     $this->logger = $logger;
     $this->database = $database;
     $this->CountryBudgetItemRepo = $version->getActivityElement()->getCountryBudgetItem()->getRepository();
 }
开发者ID:younginnovations,项目名称:aidstream,代码行数:13,代码来源:CountryBudgetItemManager.php


示例11:

 /**
  * @param Version         $version
  * @param Guard           $auth
  * @param DatabaseManager $database
  * @param DbLogger        $dbLogger
  * @param Logger          $logger
  */
 function __construct(Version $version, Guard $auth, DatabaseManager $database, DbLogger $dbLogger, Logger $logger)
 {
     $this->repo = $version->getSettingsElement()->getUpgradeRepository();
     $this->database = $database;
     $this->dbLogger = $dbLogger;
     $this->logger = $logger;
     $this->auth = $auth;
 }
开发者ID:younginnovations,项目名称:aidstream,代码行数:15,代码来源:UpgradeManager.php


示例12:

 /**
  * @param Version $version
  */
 function __construct(Version $version)
 {
     $this->activityElement = $version->getActivityElement();
     $this->downloadCsvRepo = $this->activityElement->getDownloadCsv()->getRepository();
     $this->simpleCsvDataFormatter = $this->activityElement->getDownloadCsv()->getSimpleCsvDataFormatter();
     $this->completeCsvDataFormatter = $this->activityElement->getDownloadCsv()->getCompleteCsvDataFormatter();
     $this->transactionCsvDataFormatter = $this->activityElement->getDownloadCsv()->getTransactionCsvDataFormatter();
 }
开发者ID:younginnovations,项目名称:aidstream,代码行数:11,代码来源:DownloadCsvManager.php


示例13:

 /**
  * @param Version         $version
  * @param Guard           $auth
  * @param DatabaseManager $database
  * @param DbLogger        $dbLogger
  * @param Logger          $logger
  */
 function __construct(Version $version, Guard $auth, DatabaseManager $database, DbLogger $dbLogger, Logger $logger)
 {
     $this->auth = $auth;
     $this->database = $database;
     $this->dbLogger = $dbLogger;
     $this->logger = $logger;
     $this->humanitarianScopeRepo = $version->getActivityElement()->getHumanitarianScopeRepository();
 }
开发者ID:younginnovations,项目名称:aidstream,代码行数:15,代码来源:HumanitarianScopeManager.php


示例14:

 /**
  * @param Version         $version
  * @param Guard           $auth
  * @param DatabaseManager $database
  * @param DbLogger        $dbLogger
  * @param Logger          $logger
  * @internal param Log $log
  */
 function __construct(Version $version, Guard $auth, DatabaseManager $database, DbLogger $dbLogger, Logger $logger)
 {
     $this->auth = $auth;
     $this->database = $database;
     $this->dbLogger = $dbLogger;
     $this->logger = $logger;
     $this->repo = $version->getOrganizationElement()->getRecipientRegionBudgetRepository();
 }
开发者ID:younginnovations,项目名称:aidstream,代码行数:16,代码来源:RecipientRegionBudgetManager.php


示例15: __construct

 /**
  * @param Version         $version
  * @param Guard           $auth
  * @param DatabaseManager $database
  * @param Log             $dbLogger
  * @param LoggerInterface $logger
  */
 public function __construct(Version $version, Guard $auth, DatabaseManager $database, Log $dbLogger, LoggerInterface $logger)
 {
     $this->auth = $auth;
     $this->database = $database;
     $this->DocumentLinkRepo = $version->getActivityElement()->getDocumentLink()->getRepository();
     $this->dbLogger = $dbLogger;
     $this->logger = $logger;
 }
开发者ID:younginnovations,项目名称:aidstream,代码行数:15,代码来源:DocumentLinkManager.php


示例16:

 /**
  * @param Version         $version
  * @param Guard           $auth
  * @param DatabaseManager $database
  * @param DbLogger        $dbLogger
  * @param Logger          $logger
  */
 function __construct(Version $version, Guard $auth, DatabaseManager $database, DbLogger $dbLogger, Logger $logger)
 {
     $this->auth = $auth;
     $this->database = $database;
     $this->dbLogger = $dbLogger;
     $this->logger = $logger;
     $this->totalExpenditureRepo = $version->getOrganizationElement()->getTotalExpenditureRepository();
 }
开发者ID:younginnovations,项目名称:aidstream,代码行数:15,代码来源:TotalExpenditureManager.php


示例17: __construct

 /**
  * @param Version         $version
  * @param Guard           $auth
  * @param DatabaseManager $database
  * @param DbLogger        $dbLogger
  * @param Logger          $logger
  */
 public function __construct(Version $version, Guard $auth, DatabaseManager $database, DbLogger $dbLogger, Logger $logger)
 {
     $this->auth = $auth;
     $this->dbLogger = $dbLogger;
     $this->database = $database;
     $this->defaultAidTypeRepo = $version->getActivityElement()->getDefaultAidType()->getRepository();
     $this->logger = $logger;
 }
开发者ID:younginnovations,项目名称:aidstream,代码行数:15,代码来源:DefaultAidTypeManager.php


示例18: __construct

 /**
  * @param Version         $version
  * @param Guard           $auth
  * @param DatabaseManager $database
  * @param DbLogger        $dbLogger
  * @param Logger          $logger
  */
 public function __construct(Version $version, Guard $auth, DatabaseManager $database, DbLogger $dbLogger, Logger $logger)
 {
     $this->auth = $auth;
     $this->dbLogger = $dbLogger;
     $this->database = $database;
     $this->capitalSpendRepo = $version->getActivityElement()->getCapitalSpend()->getRepository();
     $this->logger = $logger;
 }
开发者ID:younginnovations,项目名称:aidstream,代码行数:15,代码来源:CapitalSpendManager.php


示例19: __construct

 /**
  * @param OrganizationManager $organizationManager
  * @param ActivitiesManager   $activityManager
  * @param UserActivity        $userActivityRepo
  * @param Guard               $auth
  * @param Version             $version
  */
 public function __construct(OrganizationManager $organizationManager, ActivitiesManager $activityManager, UserActivity $userActivityRepo, Guard $auth, Version $version)
 {
     $this->auth = $auth;
     $this->repo = $version->getActivityElement()->getRepository();
     $this->version = $version;
     $this->userActivityRepo = $userActivityRepo;
     $this->organizationManager = $organizationManager;
     $this->activityManager = $activityManager;
 }
开发者ID:younginnovations,项目名称:aidstream,代码行数:16,代码来源:ActivityManager.php


示例20:

 /**
  * @param Version             $version
  * @param ActivityManager     $activityManager
  * @param OrganizationManager $organizationManager
  * @param DatabaseManager     $dbManager
  * @param Guard               $auth
  * @param Log                 $dbLogger
  * @param LoggerInterface     $logger
  */
 function __construct(Version $version, ActivityManager $activityManager, OrganizationManager $organizationManager, DatabaseManager $dbManager, Guard $auth, Log $dbLogger, LoggerInterface $logger)
 {
     $this->repo = $version->getSettingsElement()->getRepository();
     $this->activityManager = $activityManager;
     $this->organizationManager = $organizationManager;
     $this->dbLogger = $dbLogger;
     $this->logger = $logger;
     $this->dbManager = $dbManager;
     $this->auth = $auth;
 }
开发者ID:younginnovations,项目名称:aidstream,代码行数:19,代码来源:SettingsManager.php



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


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
PHP func\Proc类代码示例发布时间:2022-05-23
下一篇:
PHP Controller\AppController类代码示例发布时间:2022-05-23
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap