public static function create(array $configurators = []): self
    {
        $names = array_keys($configurators);

        return new self(new ClosureContainer($configurators), array_combine($names, $names));
    }
public static function create(array $configurators = []): self
    {
        $names = array_keys($configurators);

        return new self(new ClosureContainer($configurators), array_combine($names, $names));
    }
public static function create ( array $ configurators = [ ] ) : self { $ names = array_keys ( $ configurators ) ; return new self ( new ClosureContainer ( $ configurators ) , array_combine ( $ names , $ names ) ) ; }
Creates a new LazyFieldSetRegistry with easy factories for loading.

@param \Closure[] $configurators an array of lazy loading configurators.
The Closure when called is expected to return
a FieldSetConfiguratorInterface object

@return LazyFieldSetRegistry
Creates a new LazyFieldSetRegistry with easy factories for loading .