public function __construct($timeout) { parent::__construct('WaitEvent'); $this->setKey('Timeout', (int) $timeout); }