# give/4.16.9/src/Framework/ValidationRules/ValidationRulesServiceProvider.php

GiveWP – Donation Plugin and Fundraising Platform, version 4.16.9. 30 lines.

- Page: https://pluginprobe.com/plugins/give/4.16.9/code/src/Framework/ValidationRules/ValidationRulesServiceProvider.php
- Raw: https://pluginprobe.com/plugins/give/4.16.9/raw/src/Framework/ValidationRules/ValidationRulesServiceProvider.php
- Modified: 2023-01-18T19:19:38+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/give/4.16.9/code/src/Framework/ValidationRules/ValidationRulesServiceProvider.php#L10-L20`.

```php
<?php

declare(strict_types=1);

namespace Give\Framework\ValidationRules;

use Give\Framework\ValidationRules\Rules\AllowedTypes;
use Give\ServiceProviders\ServiceProvider;
use Give\Vendors\StellarWP\Validation\ValidationRulesRegistrar;

class ValidationRulesServiceProvider implements ServiceProvider
{
    /**
     * @inheritDoc
     */
    public function register()
    {
    }

    /**
     * @inheritDoc
     */
    public function boot()
    {
        give(ValidationRulesRegistrar::class)->register(
            AllowedTypes::class
        );
    }
}

```
