w10schools
Login
Register
In current category
Only my posts
Home
Tutorials
HTML, CSS
HTML, HTML5
CSS, CSS3
XML
JavaScript, AJAX
PHP
Ruby on Rails
Ruby
Rails
ASP.NET
ASP
C# .NET
Java
JSP
Databases
MySQL
MSSQL Server
Oracle
Web Server
Windows
Linux
Apache
IIS
Design
Dreamweaver
Flash
Photoshop
Fireworks
CorelDRAW
Illustrator
References
HTML
Bootstrap
CSS
CSS Selectors
Sass
JavaScript
Mobile Apps
Cordova
Ruby on Rails
Ruby
Rails
PHP
Function
Language
CodeIgniter
Phalcon
PHPUnit
Symfony
Drupal
Yii
Laravel
Perl
Perl
Python
Python
Django
NumPy
Pandas
scikit-image
scikit-learn
Statsmodels
Matplotlib
Lua
Lua
C, C++
C
C++
Server
Docker
Apache HTTP Server
Nginx
Database
PostgreSQL
Big Data
TensorFlow
Game Development
Phaser
LÖVE
Articles
News
General
Website Promotion
Online Advertising
Make Money Online
Editorials
Interviews
Web Roundups
Resources
Design
Fonts
Graphics
Vectors
Templates
UI (User Interface)
Brushes
Patterns, Backgrounds
Textures
Web Development
HTML, CSS
XML
JavaScript, AJAX
Ruby on Rails
PHP
Java
.NET
Python
Perl
Flash
Mobile Application Development
Mobile Development Tools
Swift
Online Services
Online Storage
Web Hosting
Tools
Generators
Edit
Toggle Dropdown
In Place Editing
Advanced Editing
References
PHP
Symfony
Component
Validator
Mapping
Language
Default
Markdown
GenericMetadata::getConstraints()
Constraint
[] getConstraints()
Returns all constraints of this element.
Return Value
Constraint
[]
A list of Constraint instances
Links:
http://api.symfony.com/master/Symfony/Component/Validator/Mapping/GenericMetadata.html#method_getConstraints
doc_Symfony
2016-10-28 06:19:45
Comments
Leave a Comment
Please
login
to continue.
Popular Articles
GenericMetadata
class GenericMetadata implements MetadataInterface A generic container of {@link Constraint} objects. This class supports serialization and clonin
GenericMetadata::findConstraints()
Constraint[] findConstraints(string $group) Returns all constraints for a given validation group. Parameters string $group The vali
GenericMetadata::getCascadingStrategy()
int getCascadingStrategy() Returns the strategy for cascading objects. Return Value int The cascading strategy
GenericMetadata::hasConstraints()
bool hasConstraints() Returns whether this element has any constraints. Return Value bool
GenericMetadata::addConstraint()
GenericMetadata addConstraint(Constraint $constraint) Adds a constraint. If the constraint {@link Valid} is added, the cascading stra
Return to View
Please login to continue.