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