- md5
- 04bdab3738c86d5aec51909dd79e2483
- sha1
- b839430431e6d35123a07f70010f971423503fdd
- sha256
- 77e78b24a63663d465f076d4972584026dbcd2a5819f02e2732042167115f12a
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
<?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <[email protected]>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\Validator\Mapping;
use Symfony\Component\Validator\Constraint;
/**
* A container for validation metadata.
*
* Most importantly, the metadata stores the constraints against which an object
* and its properties should be validated.
*
* Additionally, the metadata stores whether objects should be validated
* against their class' metadata and whether traversable objects should be
* traversed or not.
*
* @author Bernhard Schussek <[email protected]>
*
* @see CascadingStrategy
* @see TraversalStrategy
*/
interface MetadataInterface
{
/**
* Returns the strategy for cascading objects.
*
* @see CascadingStrategy
*/
public function getCascadingStrategy(): int;
/**
* Returns the strategy for traversing traversable objects.
*
* @see TraversalStrategy
*/
public function getTraversalStrategy(): int;
/**
* Returns all constraints of this element.
*
* @return Constraint[]
*/
public function getConstraints(): array;
/**
* Returns all constraints for a given validation group.
*
* @param string $group The validation group
*
* @return Constraint[]
*/
public function findConstraints(string $group): array;
}
The same content is in 133 releases, Joomla 5.1.0-beta1 to 6.2.1-rc1. See them all, or every version of this file.