Erebot  latest
A modular IRC bot for PHP 7.0+
Erebot\Console\ParallelOption Class Reference

Custom option that can be used in parallel with regular options. More...

+ Inheritance diagram for Erebot\Console\ParallelOption:

Public Member Functions

 expectsArgument ()
 

Detailed Description

Custom option that can be used in parallel with regular options.

The Console_CommandLine package usually prevents options from acting on the same variable. This specific type of option can be used with the Erebot::Console::StoreProxyAction to work around this.

Definition at line 32 of file ParallelOption.php.

Member Function Documentation

Erebot\Console\ParallelOption::expectsArgument ( )

Overrides the parent method so that this option never expects an argument.

Return values
boolAlways returns false.

Definition at line 41 of file ParallelOption.php.


The documentation for this class was generated from the following file: