PHP Class Sulu\Bundle\ContactBundle\Entity\ContactTitle

Inheritance: implements JsonSerializabl\JsonSerializable
Exibir arquivo Open project: sulu/sulu Class Usage Examples

Public Methods

Method Description
__toString ( ) : string Return the string representation of this title.
getId ( ) : integer Get id.
getTitle ( ) : string Get title.
jsonSerialize ( ) : mixed (PHP 5 >= 5.4.0)
Specify data which should be serialized to JSON.
setTitle ( string $title ) : ContactTitle Set title.

Method Details

__toString() public method

Return the string representation of this title.
public __toString ( ) : string
return string

getId() public method

Get id.
public getId ( ) : integer
return integer

getTitle() public method

Get title.
public getTitle ( ) : string
return string

jsonSerialize() public method

(PHP 5 >= 5.4.0)
Specify data which should be serialized to JSON.
public jsonSerialize ( ) : mixed
return mixed data which can be serialized by json_encode, which is a value of any type other than a resource

setTitle() public method

Set title.
public setTitle ( string $title ) : ContactTitle
$title string
return ContactTitle