CompletionAwareInterface::completeOptionValues()
last analyzed

Size

Total Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 1
c 0
b 0
f 0
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
}
28