This subclass is used to create, switch and configure partitions
MphpD::partition(string $name) : Partition
This class is not intended for direct usage.
Use MphpD::partition()
instead to retrieve an instance of this class.
Partition::__construct(FloFaber\MphpD\MphpD $mphpd, string $name) : mixed
mixed
Switch the client to the given partition
Partition::switch() : bool
bool
bool true
on success or false
on failure.
Create a new partition with the given name.
Partition::create() : bool
bool
bool true
on success or false
on failure.
Delete the given partition
Partition::delete() : bool
bool
bool true
on success or false
on failure.
Move a specific output to the current partition
Partition::move_output(string $name) : bool
Name of the output.
bool
bool true
on success or false
on failure.