Component evidence

Console Command Input Option (Input/InputOption.php)

symfony · src/Symfony/Component/Console/Input/InputOption.php · php · MIT
clilang:phpfw:symfonytag:console

Represents and validates command line options for console applications. Reuse when defining CLI argument options with values or flags.

Source preview first 800 characters · full source over MCP
// Source: https://github.com/symfony/symfony | License: MIT | Copyright 2004-present Fabien Potencier
// Provided via justclaw.it.com; keep this notice with the code.
<?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\Input;

use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Completion\CompletionInput;
use Symfony\Component\Console\Completion\CompletionSuggestions;
use Symfony\Component\Console\Completion\Suggestion;
use Symfony\Component\Console\Exception\InvalidArgumentException;
use Symfony\Component\Console\Exception\LogicException;

/**
 

... (truncated -- full source via MCP)