PHP Classes

File: vendor/symfony/symfony/src/Symfony/Component/Validator/Tests/Mapping/Loader/constraint-mapping-non-strings.xml

Recommend this page to a friend!
  Classes of Murat Cileli   Papernic   vendor/symfony/symfony/src/Symfony/Component/Validator/Tests/Mapping/Loader/constraint-mapping-non-strings.xml   Download  
File: vendor/symfony/symfony/src/Symfony/Component/Validator/Tests/Mapping/Loader/constraint-mapping-non-strings.xml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Papernic
Manage documents colaboratively
Author: By
Last change:
Date: 7 years ago
Size: 732 bytes
 

Contents

Class file image Download
<?xml version="1.0" ?> <constraint-mapping xmlns="http://symfony.com/schema/dic/constraint-mapping" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://symfony.com/schema/dic/constraint-mapping http://symfony.com/schema/dic/constraint-mapping/constraint-mapping-1.0.xsd"> <namespace prefix="custom">Symfony\Component\Validator\Tests\Fixtures\</namespace> <class name="Symfony\Component\Validator\Tests\Fixtures\Entity"> <property name="firstName"> <!-- Constraint with a Boolean --> <constraint name="Regex"> <option name="pattern">/^1/</option> <option name="match">false</option> </constraint> </property> </class> </constraint-mapping>