本文整理汇总了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();
}