: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
namespace Nextend\Framework\Form;
use Nextend\Framework\Form\Fieldset\FieldsetHidden;
class ContainerMain extends AbstractContainer {
protected $fieldsetHidden;
* ContainerMain constructor.
public function __construct($form) {
$this->controlName = $form->getControlName();
$this->fieldsetHidden = new FieldsetHidden($this);
public function removeElement($element) {
$previous = $element->getPrevious();
$next = $element->getNext();
if ($this->first === $element) {
if ($this->last === $element) {
$previous->setNext($next);
public function getParent() {
public function getPath() {
public function getForm() {
public function getName() {
public function getFieldsetHidden() {
return $this->fieldsetHidden;
* @return ContainerContainedInterface
public function getFirst() {