CoreFiles by mySites.guru
PropertyMetadataInterface.php41 lines, 1,143 bytes, from Joomla_6.2.0-beta2-Beta-Full_Package.zip
Raw History Compare with 6.2.0-beta1
md5
288d6b2ca019082beae944b2c17e0ac2
sha1
8d76e3644728299785197093c8876071e3d9a299
sha256
a263c38b6ff306eb6fa2f54a306edb3a61dcfacc1bb62472df66e40470e16edc
<?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;

/**
 * Stores all metadata needed for validating the value of a class property.
 *
 * Most importantly, the metadata stores the constraints against which the
 * property's value should be validated.
 *
 * Additionally, the metadata stores whether objects stored in the property
 * should be validated against their class' metadata and whether traversable
 * objects should be traversed or not.
 *
 * @author Bernhard Schussek <[email protected]>
 *
 * @see MetadataInterface
 * @see CascadingStrategy
 * @see TraversalStrategy
 */
interface PropertyMetadataInterface extends MetadataInterface
{
    /**
     * Returns the name of the property.
     */
    public function getPropertyName(): string;

    /**
     * Extracts the value of the property from the given container.
     */
    public function getPropertyValue(mixed $containingValue): mixed;
}

The same content is in 136 releases, Joomla 5.1.0-beta1 to 6.3.0-alpha1. See them all, or every version of this file.