class Entity extends Collection (View source)

Properties

protected $collection_key
protected $mentionsType
protected $mentionsDataType
string[] $metadata
string $name
protected $sentimentType
protected $sentimentDataType
string $type

Methods

setMentions($mentions)

No description

getMentions()

No description

setMetadata($metadata)

No description

string[]
getMetadata()

No description

setName($name)

No description

string
getName()

No description

setSentiment(Sentiment $sentiment)

No description

getSentiment()

No description

setType($type)

No description

string
getType()

No description

Details

setMentions($mentions)

No description

Parameters

$mentions

EntityMention[] getMentions()

No description

Return Value

EntityMention[]

setMetadata($metadata)

No description

Parameters

$metadata

string[] getMetadata()

No description

Return Value

string[]

setName($name)

No description

Parameters

$name

string getName()

No description

Return Value

string

setSentiment(Sentiment $sentiment)

No description

Parameters

Sentiment $sentiment

Sentiment getSentiment()

No description

Return Value

Sentiment

setType($type)

No description

Parameters

$type

string getType()

No description

Return Value

string