本文整理汇总了PHP中App\Core\Version类的典型用法代码示例。如果您正苦于以下问题:PHP Version类的具体用法?PHP Version怎么用?PHP Version使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了Version类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的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();
}
示例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();
}
示例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;
}
示例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();
}
示例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;
}
示例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;
}
示例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();
}
示例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();
}
示例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;
}
示例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();
}
示例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;
}
示例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();
}
示例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();
}
示例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();
}
示例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;
}