Chris@0: Chris@0: * Chris@0: * For the full copyright and license information, please view the LICENSE Chris@0: * file that was distributed with this source code. Chris@0: */ Chris@0: Chris@0: namespace Symfony\Component\Validator\Constraints; Chris@0: Chris@0: /** Chris@0: * @Annotation Chris@0: * @Target({"PROPERTY", "METHOD", "ANNOTATION"}) Chris@0: * Chris@0: * @author Bernhard Schussek Chris@0: */ Chris@0: class All extends Composite Chris@0: { Chris@0: public $constraints = array(); Chris@0: Chris@0: public function getDefaultOption() Chris@0: { Chris@0: return 'constraints'; Chris@0: } Chris@0: Chris@0: public function getRequiredOptions() Chris@0: { Chris@0: return array('constraints'); Chris@0: } Chris@0: Chris@0: protected function getCompositeOption() Chris@0: { Chris@0: return 'constraints'; Chris@0: } Chris@0: }