當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。