MphpD
v1.0.0-rc.2 Documentation GitHub

# Partition

This subclass is used to create, switch and configure partitions

    MphpD::partition(string $name) : Partition

## Methods

### __construct

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

#### Parameters

@param \MphpD $mphpd

@param string $name

#### Returns `mixed`

### switch

Switch the client to the given partition

    Partition::switch() : bool

#### Parameters

None.

#### Returns `bool`

bool

### create

Create a new partition

    Partition::create() : bool

#### Parameters

None.

#### Returns `bool`

bool

### delete

Delete a given partition

    Partition::delete() : bool

#### Parameters

None.

#### Returns `bool`

bool

### move_output

Move a specific output to the current partition

    Partition::move_output(string $name) : bool

#### Parameters

@param string $name Name of the output

#### Returns `bool`

bool

© 2023 Florian Faber