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

Public Member Functions

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

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\FloatProvider::__construct ( CommandSender $sender,
string  $arg 
)

Reimplemented from Phpcraft\Command\ArgumentProvider.

Member Function Documentation

◆ getValue()

Phpcraft\Command\FloatProvider::getValue ( )
Returns
float

Reimplemented from Phpcraft\Command\ArgumentProvider.

◆ write()

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

Reimplemented from Phpcraft\Command\ArgumentProvider.