20963cb8c395b4edf5f3c71c6b16b3f98a90d1bd
[yaffs-website] / vendor / stecman / symfony-console-completion / src / Completion / CompletionAwareInterface.php
1 <?php
2
3 namespace Stecman\Component\Symfony\Console\BashCompletion\Completion;
4
5 use Stecman\Component\Symfony\Console\BashCompletion\CompletionContext;
6
7 interface CompletionAwareInterface
8 {
9
10     /**
11      * Return possible values for the named option
12      *
13      * @param string $optionName
14      * @param CompletionContext $context
15      * @return array
16      */
17     public function completeOptionValues($optionName, CompletionContext $context);
18
19     /**
20      * Return possible values for the named argument
21      *
22      * @param string $argumentName
23      * @param CompletionContext $context
24      * @return array
25      */
26     public function completeArgumentValues($argumentName, CompletionContext $context);
27 }