Initial xentral_oss_20.3.c9ffacf
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Xentral\Modules\Pipedrive\Validator;
|
||||
|
||||
use Xentral\Modules\Pipedrive\Exception\PipedriveValidatorException;
|
||||
|
||||
interface PipedriveValidatorInterface
|
||||
{
|
||||
/**
|
||||
* Checks whether the given data is valid or not
|
||||
*
|
||||
* @param array $data
|
||||
*
|
||||
* @throws PipedriveValidatorException
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function isValid(array $data = []): bool;
|
||||
|
||||
/**
|
||||
* Defines the default validator data object
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function validatorRuleDefault(): array;
|
||||
}
|
||||
Reference in New Issue
Block a user