21 lines
270 B
PHP
21 lines
270 B
PHP
|
<?php
|
||
|
|
||
|
namespace App\Validator;
|
||
|
|
||
|
/**
|
||
|
* interface Validator.
|
||
|
*
|
||
|
* @author Simon Vieille <simon@deblan.fr>
|
||
|
*/
|
||
|
interface Validator
|
||
|
{
|
||
|
/*
|
||
|
* Validates data.
|
||
|
*
|
||
|
* @param mixed $data
|
||
|
*
|
||
|
* @return bool
|
||
|
*/
|
||
|
public function validate($data);
|
||
|
}
|