本文整理匯總了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;
}
示例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;
}
示例3:
/**
* @param Version $version
*/
function __construct(Version $version)
{
$this->defaultFieldValues = $version->getSettingsElement()->getdefaultFieldValues()->getdefaultFieldValuesForm();
$this->defaultFieldGroups = $version->getSettingsElement()->getdefaultFieldGroups()->getdefaultFieldGroupsForm();
}
示例4:
function __construct(Version $version)
{
$this->requestHandler = $version->getSettingsElement()->getSettingsRequest();
}