Пример #1
0
 /**
  * Removes a Fields
  *
  * @param Field $fieldToRemove
  * @return void
  */
 public function removeField(Field $fieldToRemove)
 {
     $this->fields->detach($fieldToRemove);
 }
Пример #2
0
 /**
  * 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);
 }