/
githubmirror
/
symfony
Обзор
Документация
Войти
/
githubmirror
/
symfony
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
8.2
src/Symfony/Component/Console/ArgumentResolver/ValueResolver/ValueResolverInterface.php
30 строк
871 B
Robin Chalas
[Console] Add argument resolvers
05 янв 2026, 20:31
Не верифицирован
05 янв 2026, 20:31
7008e30
Код
Авторство
О чём код?
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Console\ArgumentResolver\ValueResolver; use Symfony\Component\Console\Attribute\Reflection\ReflectionMember; use Symfony\Component\Console\Input\InputInterface; /** * Responsible for resolving the value of a Command argument based on its * parameter metadata and the Command MapInput. * * @author Nicolas Grekas <p@tchwork.com> * @author Robin Chalas <robin.chalas@gmail.com> */ interface ValueResolverInterface { /** * Returns the possible value(s) for the argument. */ public function resolve(string $argumentName, InputInterface $input, ReflectionMember $member): iterable; }