本文整理汇总了PHP中Psc\Code\Test\Base::getHostConfig方法的典型用法代码示例。如果您正苦于以下问题:PHP Base::getHostConfig方法的具体用法?PHP Base::getHostConfig怎么用?PHP Base::getHostConfig使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Psc\Code\Test\Base
的用法示例。
在下文中一共展示了Base::getHostConfig方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: __construct
public function __construct(Base $testCase, $entityName, $debug = FALSE)
{
$this->testCase = $testCase;
$this->hostConfig = $testCase->getHostConfig();
$this->entityMeta = $this->getEntityMeta($entityName);
$this->setDebug($debug);
$this->getLogger()->setPrefix('[acceptance]');
}
示例2: __construct
public function __construct(\Psc\Code\Test\Base $testCase, $name, Dir $root, array $paths = NULL, $mode = Project::MODE_SRC)
{
$this->name = $name;
$this->root = $root;
$this->hostConfig = $testCase->getHostConfig();
$this->projectsFactory = new ProjectsFactory($this->hostConfig);
$this->paths = $paths;
$this->mode = $mode;
parent::__construct($testCase, $fqn = 'Psc\\CMS\\Project');
}