21 lines
472 B
PHP
21 lines
472 B
PHP
<?php
|
|
/**
|
|
* User: Damian Zamojski (br33f)
|
|
* Date: 22.06.2021
|
|
* Time: 11:10
|
|
*/
|
|
|
|
namespace Br33f\Ga4\MeasurementProtocol\Dto;
|
|
|
|
use Br33f\Ga4\MeasurementProtocol\Exception\ValidationException;
|
|
|
|
interface RequestValidateInterface
|
|
{
|
|
/**
|
|
* Method validates object. Throws exception if error, returns true if valid.
|
|
* @param string|null $context
|
|
* @return boolean
|
|
* @throws ValidationException
|
|
*/
|
|
public function validate(?string $context);
|
|
} |