's', self::VALID_UNTIL => 'u', self::MAX_VISITS => 'm', self::TITLE => null, self::CRAWLABLE => 'r', self::NO_FORWARD_QUERY => 'w', }; } public function wasProvided(InputInterface $input): bool { $option = sprintf('--%s', $this->value); $shortcut = $this->shortcut(); return $input->hasParameterOption($shortcut === null ? $option : [$option, sprintf('-%s', $shortcut)]); } }