Example #1
0
 /**
  * Removes a Fields
  *
  * @param Field $fieldToRemove
  * @return void
  */
 public function removeField(Field $fieldToRemove)
 {
     $this->fields->detach($fieldToRemove);
 }
Example #2
0
File: Page.php Project: advOpk/pwm
 /**
  * Removes a Fields
  *
  * @param \In2code\Powermail\Domain\Model\Field $fieldToRemove
  * @return void
  */
 public function removeField(\In2code\Powermail\Domain\Model\Field $fieldToRemove)
 {
     $this->fields->detach($fieldToRemove);
 }