AcmePhp\Cli\Command\RequestCommand::execute PHP Метод

execute() защищенный метод

protected execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface
    protected function execute(InputInterface $input, OutputInterface $output)
    {
        $this->repository = $this->getRepository();
        $this->client = $this->getClient();
        $this->actionHandler = $this->getActionHandler();
        $domain = $input->getArgument('domain');
        $alternativeNames = array_unique($input->getOption('alternative-name'));
        sort($alternativeNames);
        // Certificate renewal
        if ($this->hasValidCertificate($domain, $alternativeNames)) {
            return $this->executeRenewal($domain, $alternativeNames);
        }
        // Certificate first request
        return $this->executeFirstRequest($domain, $alternativeNames);
    }