first commit

This commit is contained in:
2025-01-06 20:47:25 +01:00
commit 3bdbd78c2f
25591 changed files with 3586440 additions and 0 deletions

View File

@@ -0,0 +1,42 @@
<?php
/**
* User: Damian Zamojski (br33f)
* Date: 22.06.2021
* Time: 11:20
*/
namespace Br33f\Ga4\MeasurementProtocol\Exception;
use Exception;
use Throwable;
class ValidationException extends AnalyticsException
{
/**
* @var string|null
*/
protected $fieldName = null;
public function __construct($message = "", $code = 0, $fieldName = null, Throwable $previous = null)
{
parent::__construct($message, $code, $previous);
$this->fieldName = $fieldName;
}
/**
* @return string|null
*/
public function getFieldName(): ?string
{
return $this->fieldName;
}
/**
* @param string|null $fieldName
*/
public function setFieldName(?string $fieldName): void
{
$this->fieldName = $fieldName;
}
}