/** * Constructor. * * @param int $latency Latency (in seconds). * @return void */ public function __construct($latency = null) { parent::__construct(); $this->setListener(new Event\Listener($this, ['new', 'modify', 'move'])); if (null !== $latency) { $this->setLatency($latency); } return; }