本文整理汇总了PHP中AbstractHandler::__construct方法的典型用法代码示例。如果您正苦于以下问题:PHP AbstractHandler::__construct方法的具体用法?PHP AbstractHandler::__construct怎么用?PHP AbstractHandler::__construct使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类AbstractHandler
的用法示例。
在下文中一共展示了AbstractHandler::__construct方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: __construct
/** Constructor */
public function __construct($projectID, $scheduleID)
{
parent::__construct($projectID, $scheduleID);
$this->Build = new Build();
$this->Site = new Site();
$this->DynamicAnalysisSummary = new DynamicAnalysisSummary();
}
示例2: __construct
/** Constructor */
public function __construct($projectID, $scheduleID)
{
parent::__construct($projectID, $scheduleID);
$this->Build = new Build();
$this->Site = new Site();
$this->Configure = new BuildConfigure();
}
示例3: __construct
/** Constructor */
public function __construct($projectID, $scheduleID)
{
parent::__construct($projectID, $scheduleID);
$this->Build = new Build();
$this->Site = new Site();
$this->CoverageSummary = new CoverageSummary();
}
示例4: __construct
/** Constructor */
public function __construct($projectID, $scheduleID)
{
parent::__construct($projectID, $scheduleID);
$this->Build = new Build();
$this->Site = new Site();
$this->UpdateEndTime = false;
}
示例5:
/**
* Constructs a new DataTypeHandler and sets up everything.
*
* @param AbstractSAXParser $parser The XML parser (default: ExpatParser)
* @param AbstractHandler $parentHandler The parent handler that invoked this handler.
* @param ProjectConfigurator $configurator The ProjectConfigurator object
* @param Target $target The target object this datatype is contained in (null for top-level datatypes).
*/
function __construct(AbstractSAXParser $parser, AbstractHandler $parentHandler, ProjectConfigurator $configurator, $target = null)
{
// FIXME b2 typehinting
parent::__construct($parser, $parentHandler);
$this->target = $target;
$this->configurator = $configurator;
}
示例6: __construct
/**
* Constructor
*
* @throws \RuntimeException
* @internal param array $options Optional parameters
*
* @since 2.0
*/
public function __construct($options)
{
if (!static::isSupported()) {
throw new \RuntimeException('APC Extension is not available', 500);
}
parent::__construct($options);
}
示例7: __construct
public function __construct($projectid, $scheduleid)
{
parent::__construct($projectid, $scheduleid);
$this->Build = new Build();
$this->Site = new Site();
$this->Append = false;
$this->Feed = new Feed();
}
示例8: __construct
public function __construct($projectid, $scheduleid)
{
parent::__construct($projectid, $scheduleid);
$this->Build = new Build();
$this->Site = new Site();
$this->Configure = new BuildConfigure();
$this->StartTimeStamp = 0;
$this->EndTimeStamp = 0;
}
示例9: __construct
/**
*
* @param callable|HandlerInterface $handler
* Handler or factory callable($record, $fingersCrossedHandler).
* @param int $factor
* Sample factor
*/
public function __construct($handler, $factor)
{
parent::__construct();
$this->handler = $handler;
$this->factor = $factor;
if (!$this->handler instanceof HandlerInterface && !is_callable($this->handler)) {
throw new \RuntimeException("The given handler (" . json_encode($this->handler) . ") is not a callable nor a Monolog\\Handler\\HandlerInterface object");
}
}
示例10: __construct
/** Constructor */
public function __construct($projectID, $scheduleID)
{
parent::__construct($projectID, $scheduleID);
$this->Build = new Build();
$this->Site = new Site();
$this->UpdateEndTime = false;
$this->CoverageFiles = array();
$this->CurrentLine = "";
}
示例11: __construct
/**
* Constructor
*
* @param \Memcache $memcache A Memcache instance
* @param array $options Optional parameters.
*
* @throws \RuntimeException
* @since 2.0
*/
public function __construct(\Memcache $memcache = null, $options = array())
{
if (!self::isSupported()) {
throw new \RuntimeException('Memcache Extension is not available', 500);
}
$this->memcache = $memcache ?: new \Memcache();
$this->ttl = isset($options['expiretime']) ? (int) $options['expiretime'] : 86400;
parent::__construct($options);
}
示例12: __construct
/** Constructor */
public function __construct($projectID, $scheduleID)
{
parent::__construct($projectID, $scheduleID);
$this->Build = new Build();
$this->Site = new Site();
$this->TmpFilename = '';
$this->Base64TmpFileWriteHandle = 0;
$this->Base64TmpFilename = '';
$this->UploadError = false;
}
示例13: __construct
/** Constructor */
public function __construct($projectID, $scheduleID)
{
parent::__construct($projectID, $scheduleID);
$this->Build = new Build();
$this->Site = new Site();
$this->UpdateEndTime = false;
$this->NumberTestsFailed = 0;
$this->NumberTestsNotRun = 0;
$this->NumberTestsPassed = 0;
$this->Feed = new Feed();
}
示例14:
/**
* Constructs a new NestedElement handler and sets up everything.
*
* @param object the ExpatParser object
* @param object the parent handler that invoked this handler
* @param object the ProjectConfigurator object
* @param object the parent object this element is contained in
* @param object the parent wrapper object
* @param object the target object this task is contained in
* @access public
*/
function __construct($parser, $parentHandler, $configurator, $parent, $parentWrapper, $target) {
parent::__construct($parser, $parentHandler);
$this->configurator = $configurator;
if ($parent instanceof TaskAdapter) {
$this->parent = $parent->getProxy();
} else {
$this->parent = $parent;
}
$this->parentWrapper = $parentWrapper;
$this->target = $target;
}
示例15: __construct
/**
* Constructs a new NestedElement handler and sets up everything.
*
* @param object the ExpatParser object
* @param object the parent handler that invoked this handler
* @param object the ProjectConfigurator object
* @param object the parent object this element is contained in
* @param object the parent wrapper object
* @param object the target object this task is contained in
*/
public function __construct($parser, $parentHandler, $configurator, $parent = null, $parentWrapper = null, $target = null)
{
parent::__construct($parser, $parentHandler);
$this->configurator = $configurator;
if ($parentWrapper != null) {
$this->parent = $parentWrapper->getProxy();
} else {
$this->parent = $parent;
}
$this->parentWrapper = $parentWrapper;
$this->target = $target;
}