public function addExtraOption(string $extraOption) { if (!empty($extraOption)) { $this->extraOptions[] = $extraOption; } return $this; }