PhpBrew\Command\ExtensionCommand\InstallCommand::options PHP Method

options() public method

public options ( GetOptionKit\OptionSpecCollection $opts )
$opts GetOptionKit\OptionSpecCollection
    public function options($opts)
    {
        $opts->add('pecl', 'Try to download from pecl even when ext source is bundled with php-src.');
        $opts->add('redownload', 'Force to redownload extension source even if it is already available.');
        DownloadFactory::addOptionsForCommand($opts);
    }