PublicationDetails
in package
Class encapsulating publication details.
Tags
Table of Contents
- $date : string
- Date of publication
- $name : string
- Name of publisher
- $place : string
- Place of publication
- __construct() : mixed
- Constructor
- __toString() : string
- Represent object as a string
- getDate() : string
- Get date of publication
- getName() : string
- Get name of publisher
- getPlace() : string
- Get place of publication
Properties
$date
Date of publication
protected
string
$date
$name
Name of publisher
protected
string
$name
$place
Place of publication
protected
string
$place
Methods
__construct()
Constructor
public
__construct(string $place, string $name, string $date) : mixed
Parameters
- $place : string
-
Place of publication
- $name : string
-
Name of publisher
- $date : string
-
Date of publication
Return values
mixed —__toString()
Represent object as a string
public
__toString() : string
Return values
string —getDate()
Get date of publication
public
getDate() : string
Return values
string —getName()
Get name of publisher
public
getName() : string
Return values
string —getPlace()
Get place of publication
public
getPlace() : string