for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* custom format constraint
*/
namespace Graviton\JsonSchemaBundle\Validator\Constraint;
use JsonSchema\Constraints\FormatConstraint as BaseFormatConstraint;
* @author List of contributors <https://github.com/libgraviton/graviton/graphs/contributors>
* @license https://opensource.org/licenses/MIT MIT License
* @link http://swisscom.ch
class FormatConstraint extends BaseFormatConstraint
{
use ConstraintTrait;
* class of the event
*
* @var string
private $eventClass = 'Graviton\JsonSchemaBundle\Validator\Constraint\Event\ConstraintEventFormat';
* Returns the name of the Event class for this event
* @return string event class name
public function getEventClass()
return $this->eventClass;
}