/** * Freezes the module and all it's fields. */ public function freeze() { parent::freeze(); $this->fields->freeze(); }
/** * Closes the collection to any further modifications. */ public function freeze() { parent::freeze(); foreach ($this->fields as $field) { $field->freeze(); } }