Title
in package
Class Title represents an anime/manga title which has a type. A type can be 'Default', 'Synonym', or a language (e.g. 'English', 'German', 'Japanese').
Table of Contents
Constants
- TYPE_DEFAULT = 'Default'
- TYPE_SYNONYM = 'Synonym'
Properties
Methods
- __construct() : mixed
- getTitle() : string|null
- getType() : string
Constants
TYPE_DEFAULT
public
mixed
TYPE_DEFAULT
= 'Default'
TYPE_SYNONYM
public
mixed
TYPE_SYNONYM
= 'Synonym'
Properties
$title
private
string|null
$title
$type
private
string
$type
Methods
__construct()
public
__construct(string $type, string|null $title) : mixed
Parameters
- $type : string
- $title : string|null
getTitle()
public
getTitle() : string|null
Return values
string|nullgetType()
public
getType() : string