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


PHP Version::getSettingsElement方法代码示例

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


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

示例1:

 /**
  * @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

示例2:

 /**
  * @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

示例3:

 /**
  * @param Version $version
  */
 function __construct(Version $version)
 {
     $this->defaultFieldValues = $version->getSettingsElement()->getdefaultFieldValues()->getdefaultFieldValuesForm();
     $this->defaultFieldGroups = $version->getSettingsElement()->getdefaultFieldGroups()->getdefaultFieldGroupsForm();
 }
开发者ID:younginnovations,项目名称:aidstream,代码行数:8,代码来源:Organization.php

示例4:

 function __construct(Version $version)
 {
     $this->requestHandler = $version->getSettingsElement()->getSettingsRequest();
 }
开发者ID:younginnovations,项目名称:aidstream,代码行数:4,代码来源:SettingsRequestManager.php


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