BookMeta
in package
Table of Contents
Properties
Methods
- __construct() : mixed
- __toString() : string
- getContent() : string|null
- getContents() : string|null
- Get the meta contents.
- getName() : string|null
- Get the meta name.
- parse() : string|null
- toArray() : array<string|int, mixed>
Properties
$contents
protected
string|null
$contents
= null
$name
protected
string|null
$name
= null
Methods
__construct()
public
__construct([string|null $name = null ][, string|null $contents = null ]) : mixed
Parameters
- $name : string|null = null
- $contents : string|null = null
__toString()
public
__toString() : string
Return values
stringgetContent()
public
getContent() : string|null
Use getContents() instead
Return values
string|nullgetContents()
Get the meta contents.
public
getContents() : string|null
Return values
string|nullgetName()
Get the meta name.
public
getName() : string|null
Return values
string|nullparse()
public
static parse(mixed $data) : string|null
Parameters
- $data : mixed
Return values
string|nulltoArray()
public
toArray() : array<string|int, mixed>