for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace EmanueleMinotto\SafeBrowsingBundle\Validator\Constraints;
use Symfony\Component\Validator\Constraint;
/**
* Constraint used for URL safety evaluation.
*
* @author Emanuele Minotto <[email protected]>
* @Annotation
*/
class Safe extends Constraint
{
* Messaggio per la validazione.
* @var string
public $message = 'This URL is not safe (%response%).';
* {@inheritdoc}
public function validatedBy()
return 'safe';
}