CoreFiles by mySites.guru
GroupProviderInterface.php30 lines, 728 bytes, from Joomla_5.4.2-Stable-Full_Package.zip
Raw History Compare with 5.4.1
md5
13896e4d1f421a90ed75cd03114625ed
sha1
6aa9cf16a736fe17c15297e50a95b5fed7a68857
sha256
11ce43155952408a7806edaec2b58d33764a5d18510aabebff52d6d6adff6af8
<?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;

use Symfony\Component\Validator\Constraints\GroupSequence;

/**
 * Defines the interface for a validation group provider.
 *
 * @author Yonel Ceruto <[email protected]>
 */
interface GroupProviderInterface
{
    /**
     * Returns which validation groups should be used for a certain state
     * of the object.
     *
     * @return string[]|string[][]|GroupSequence
     */
    public function getGroups(object $object): array|GroupSequence;
}

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.