Habari\FormContainer::remove PHP Метод

remove() публичный Метод

Removes a target control from this group (can be the form or a fieldset)
public remove ( FormControl $target )
$target FormControl FormControl to remove
    function remove(FormControl $target)
    {
        // Strictness will skip recursiveness, else you get an exception (recursive dependency)
        unset($this->controls[array_search($target, $this->controls, true)]);
    }