/** * Constructs this CountingVisitor. * * @param integer $count The initial count. */ public function __construct($count = 0) { parent::__construct(); $this->count = 0; }
/** * Constructor. */ public function __construct() { parent::__construct(); }
/** * Constructs this ReducingVisitor. * * @param callback $callback A callback function. * @param mixed $initialState The initial state. */ public function __construct($callback, $initialState) { parent::__construct(); $this->callback = $callback; $this->state = $initialState; }
/** * Constructs an latest time visitor that fills the given array. * * @param object BasicArray $latestTime Latest times array. */ public function __construct($latestTime) { parent::__construct(); $this->latestTime = $latestTime; }
/** * Constructs this PrintingVisitor. */ public function __construct($stream) { parent::__construct(); $this->stream = $stream; }