public function __construct($document, $handler, $context, $times) { $this->document = $document; $this->handler = $handler; $this->context = $context; $this->times = $times; }