Phpcraft
Public Member Functions | Static Public Member Functions | List of all members
Phpcraft\Command\GreedyStringProvider Class Reference
Inheritance diagram for Phpcraft\Command\GreedyStringProvider:
Inheritance graph
[legend]
Collaboration diagram for Phpcraft\Command\GreedyStringProvider:
Collaboration graph
[legend]

Public Member Functions

 __construct (CommandSender &$sender, string $arg)
 
 getValue ()
 
 acceptsMore ()
 
 acceptNext (string $arg)
 
- Public Member Functions inherited from Phpcraft\Command\ArgumentProvider
 isFinished ()
 

Static Public Member Functions

static write (Connection $con)
 
- Static Public Member Functions inherited from Phpcraft\Command\ArgumentProvider
static noop ()
 
static read (Connection $con)
 

Additional Inherited Members

- Protected Attributes inherited from Phpcraft\Command\ArgumentProvider
 $value
 

Constructor & Destructor Documentation

◆ __construct()

Phpcraft\Command\GreedyStringProvider::__construct ( CommandSender $sender,
string  $arg 
)

Reimplemented from Phpcraft\Command\ArgumentProvider.

Member Function Documentation

◆ acceptNext()

Phpcraft\Command\GreedyStringProvider::acceptNext ( string  $arg)
Parameters
string$arg
Returns
void

Reimplemented from Phpcraft\Command\ArgumentProvider.

◆ acceptsMore()

Phpcraft\Command\GreedyStringProvider::acceptsMore ( )
Returns
bool

Reimplemented from Phpcraft\Command\ArgumentProvider.

◆ getValue()

Phpcraft\Command\GreedyStringProvider::getValue ( )
Returns
GreedyString

Reimplemented from Phpcraft\Command\ArgumentProvider.

◆ write()

static Phpcraft\Command\GreedyStringProvider::write ( Connection  $con)
static
Parameters
Connection$con
Returns
void

Reimplemented from Phpcraft\Command\ArgumentProvider.