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