This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
symfony/tests/Symfony/Tests/Component/Validator/Fixtures/ConstraintA.php

22 lines
393 B
PHP
Raw Normal View History

<?php
namespace Symfony\Tests\Component\Validator\Fixtures;
use Symfony\Component\Validator\Constraint;
class ConstraintA extends Constraint
{
public $property1;
public $property2;
public function getDefaultOption()
{
return 'property2';
}
public function getTargets()
{
return array(self::PROPERTY_CONSTRAINT, self::CLASS_CONSTRAINT);
}
}