\PhpOffice\PhpSpreadsheet\RichTextTextElement

Summary

Methods
Properties
Constants
__construct()
getText()
setText()
getFont()
getHashCode()
__clone()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$text
N/A

Properties

$text

$text : string

Text.

Type

string

Methods

__construct()

__construct(string  $pText = '') : mixed

Create a new TextElement instance.

Parameters

string $pText

Text

Returns

mixed —

getText()

getText() : string

Get text.

Returns

string —

Text

setText()

setText( $text) : $this

Set text.

Parameters

$text

string Text

Returns

$this —

getFont()

getFont() : null|\PhpOffice\PhpSpreadsheet\Style\Font

Get font.

Returns

null|\PhpOffice\PhpSpreadsheet\Style\Font —

getHashCode()

getHashCode() : string

Get hash code.

Returns

string —

Hash code

__clone()

__clone() : mixed

Implement PHP __clone to create a deep clone, not just a shallow copy.

Returns

mixed —