\SSilence\ImapClientSubtypeBody

Class SubtypeBody

Summary

Methods
Properties
Constants
__set()
__get()
__isset()
__unset()
__toString()
jsonSerialize()
$charset
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$_structure
$_body
N/A

Properties

$charset

$charset : string

Charset current section body

Type

string

$_structure

$_structure : object

Structure current section

Type

object

$_body

$_body : string

Body current section

Type

string

Methods

__set()

__set(string  $property, object|string  $value) 

Set current property

Parameters

string $property

it is property of the called object

object|string $value

it is value of the called object

Throws

\SSilence\ImapClient\ImapClientException

__get()

__get(string  $property) : object|string

Get current property

Parameters

string $property

Throws

\SSilence\ImapClient\ImapClientException

Returns

object|string

__isset()

__isset(string  $property) : object|string

Check isset() current object property

Parameters

string $property

Throws

\SSilence\ImapClient\ImapClientException

Returns

object|string

__unset()

__unset(string  $property) 

Unset current object property

Parameters

string $property

Throws

\SSilence\ImapClient\ImapClientException

__toString()

__toString() : string

Return $this->_body when object convert to string

Returns

string

jsonSerialize()

jsonSerialize() : array

Returns the private properties of the object when serializing, like this json_encode().

Returns

array