src/PluginClient.php
private function configure(array $options = []): array
    {
        $resolver = new OptionsResolver();
        $resolver->setDefaults([
            'max_restarts' => 10,
        ]);

        $resolver->setAllowedTypes('max_restarts', 'int');

        return $resolver->resolve($options);
    }
private function configure(array $options = []): array
    {
        $resolver = new OptionsResolver();
        $resolver->setDefaults([
            'max_restarts' => 10,
        ]);

        $resolver->setAllowedTypes('max_restarts', 'int');

        return $resolver->resolve($options);
    }
private function configure ( array $ options = [ ] ) : array { $ resolver = new OptionsResolver ( ) ; $ resolver -> setDefaults ( [ 'max_restarts' => 10 , ] ) ; $ resolver -> setAllowedTypes ( 'max_restarts' , 'int' ) ; return $ resolver -> resolve ( $ options ) ; }
Configure the plugin client.
Configure the plugin client .