for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace EasyTaxi\NewRelic\Entity\Insights;
use Respect\Validation\Validator;
class Event implements \JsonSerializable
{
public $eventType;
public function jsonSerialize()
Validator::stringType()
->notEmpty()
->setName('eventType')
->check($this->eventType);
return $this;
}