@@ -11,8 +11,8 @@ |
||
| 11 | 11 | |
| 12 | 12 | namespace TheSupportGroup\Common\Validator\Helpers; |
| 13 | 13 | |
| 14 | -use TheSupportGroup\Common\Validator\Contracts\Helpers\RulesFactoryInterface; |
|
| 15 | 14 | use TheSupportGroup\Common\ValidationInterop\ValidationProviderInterface; |
| 15 | +use TheSupportGroup\Common\Validator\Contracts\Helpers\RulesFactoryInterface; |
|
| 16 | 16 | |
| 17 | 17 | class RulesFactory implements RulesFactoryInterface |
| 18 | 18 | { |
@@ -12,10 +12,10 @@ |
||
| 12 | 12 | namespace TheSupportGroup\Common\Validator\Helpers; |
| 13 | 13 | |
| 14 | 14 | use TheSupportGroup\Common\ValidationInterop\ValidationProviderInterface; |
| 15 | +use TheSupportGroup\Common\Validator\Contracts\Helpers\FieldsErrorBagInterface; |
|
| 16 | +use TheSupportGroup\Common\Validator\Contracts\Helpers\ValidationResultProcessorInterface; |
|
| 15 | 17 | use TheSupportGroup\Common\Validator\Rules\BaseRule; |
| 16 | 18 | use TheSupportGroup\Common\Validator\Validator; |
| 17 | -use TheSupportGroup\Common\Validator\Contracts\Helpers\ValidationResultProcessorInterface; |
|
| 18 | -use TheSupportGroup\Common\Validator\Contracts\Helpers\FieldsErrorBagInterface; |
|
| 19 | 19 | |
| 20 | 20 | class ValidationResultProcessor implements ValidationResultProcessorInterface |
| 21 | 21 | { |
@@ -12,11 +12,10 @@ |
||
| 12 | 12 | namespace TheSupportGroup\Common\Validator\Helpers; |
| 13 | 13 | |
| 14 | 14 | use TheSupportGroup\Common\ValidationInterop\ValidationProviderInterface; |
| 15 | -use TheSupportGroup\Common\Validator\Rules\BaseRule; |
|
| 16 | -use TheSupportGroup\Common\Validator\Validator; |
|
| 17 | -use TheSupportGroup\Common\Validator\Contracts\Helpers\ValidationResultProcessorInterface; |
|
| 18 | -use TheSupportGroup\Common\Validator\Contracts\Helpers\ValidationFacadeInterface; |
|
| 19 | 15 | use TheSupportGroup\Common\Validator\Contracts\Helpers\RulesFactoryInterface; |
| 16 | +use TheSupportGroup\Common\Validator\Contracts\Helpers\ValidationFacadeInterface; |
|
| 17 | +use TheSupportGroup\Common\Validator\Contracts\Helpers\ValidationResultProcessorInterface; |
|
| 18 | +use TheSupportGroup\Common\Validator\Validator; |
|
| 20 | 19 | |
| 21 | 20 | class ValidatorFacade implements ValidationFacadeInterface |
| 22 | 21 | { |
@@ -11,7 +11,6 @@ |
||
| 11 | 11 | |
| 12 | 12 | namespace TheSupportGroup\Common\Validator\Rules; |
| 13 | 13 | |
| 14 | -use Exception; |
|
| 15 | 14 | use TheSupportGroup\Common\ValidationInterop\ValidationProviderInterface; |
| 16 | 15 | |
| 17 | 16 | abstract class BaseRule |
@@ -12,9 +12,9 @@ |
||
| 12 | 12 | namespace TheSupportGroup\Common\Validator; |
| 13 | 13 | |
| 14 | 14 | use TheSupportGroup\Common\ValidationInterop\ValidationProviderInterface; |
| 15 | +use TheSupportGroup\Common\Validator\Contracts\Helpers\RulesFactoryInterface; |
|
| 15 | 16 | use TheSupportGroup\Common\Validator\Contracts\Helpers\ValidationResultProcessorInterface; |
| 16 | 17 | use TheSupportGroup\Common\Validator\Rules\BaseRule; |
| 17 | -use TheSupportGroup\Common\Validator\Contracts\Helpers\RulesFactoryInterface; |
|
| 18 | 18 | |
| 19 | 19 | final class Validator |
| 20 | 20 | { |