__construct

Description

public Text::__construct($client [, $data = null ] )

Parameters

$client
An eContext\Client object which is used to perform interaction with the eContext API
$data
An optional parameter for the constructor. The list of text posts that will be passed into the eContext API for classification

Return Values

Returns a new Text instance.