Version 1
[yaffs-website] / vendor / stecman / symfony-console-completion / src / Completion / CompletionAwareInterface.php
diff --git a/vendor/stecman/symfony-console-completion/src/Completion/CompletionAwareInterface.php b/vendor/stecman/symfony-console-completion/src/Completion/CompletionAwareInterface.php
new file mode 100644 (file)
index 0000000..20963cb
--- /dev/null
@@ -0,0 +1,27 @@
+<?php
+
+namespace Stecman\Component\Symfony\Console\BashCompletion\Completion;
+
+use Stecman\Component\Symfony\Console\BashCompletion\CompletionContext;
+
+interface CompletionAwareInterface
+{
+
+    /**
+     * Return possible values for the named option
+     *
+     * @param string $optionName
+     * @param CompletionContext $context
+     * @return array
+     */
+    public function completeOptionValues($optionName, CompletionContext $context);
+
+    /**
+     * Return possible values for the named argument
+     *
+     * @param string $argumentName
+     * @param CompletionContext $context
+     * @return array
+     */
+    public function completeArgumentValues($argumentName, CompletionContext $context);
+}