public function lock($lock = false) { $this->options['lock'] = $lock; $this->options['master'] = true; return $this; }