Lifestream
Class

Lyrixx\Lifestream\Status

class Status implements StatusInterface

Status implementation.

Implements StatusInterface

Methods

__construct(array $datas = array())

Construtor

string getText()

setText(String $text)

string getUrl()

setUrl(string $url)

Datetime getDate()

setDate(Datetime $date)

array getExtra()

setExtra(array $extra)

string __toString()

Details

at line 37
public __construct(array $datas = array())

Construtor

Parameters

array $datas An array of data. Set test, url and date to class attributes. Other datas are stored in extra attributes

at line 58
public string getText()

Return Value

string The text

at line 66
public setText(String $text)

Parameters

String $text The text

at line 76
public string getUrl()

Return Value

string The url to the status

at line 84
public setUrl(string $url)

Parameters

string $url The url to the status

at line 94
public Datetime getDate()

Return Value

Datetime The date

at line 102
public setDate(Datetime $date)

Parameters

Datetime $date The date

at line 112
public array getExtra()

Return Value

array The extra

at line 120
public setExtra(array $extra)

Parameters

array $extra The extra

at line 130
public string __toString()

Return Value

string