FieldConditionsServiceProvider.php
30 lines
| 1 | <?php |
| 2 | |
| 3 | namespace Give\VendorOverrides\FieldConditions; |
| 4 | |
| 5 | use Give\Framework\Exceptions\Primitives\InvalidArgumentException; |
| 6 | use Give\ServiceProviders\ServiceProvider; |
| 7 | use Give\Vendors\StellarWP\FieldConditions\Config; |
| 8 | |
| 9 | class FieldConditionsServiceProvider implements ServiceProvider |
| 10 | { |
| 11 | /** |
| 12 | * {@inheritDoc} |
| 13 | * |
| 14 | * @since 2.27.3 |
| 15 | */ |
| 16 | public function register() |
| 17 | { |
| 18 | Config::setInvalidArgumentExceptionClass(InvalidArgumentException::class); |
| 19 | } |
| 20 | |
| 21 | /** |
| 22 | * {@inheritDoc} |
| 23 | * |
| 24 | * @since 2.27.3 |
| 25 | */ |
| 26 | public function boot() |
| 27 | { |
| 28 | } |
| 29 | } |
| 30 |