PHP Class WordCount, wordcount

This is a serializable class - which means that it can be serialized by the Yothalot framework, and transferred to other nodes in the Yothalot cluster. It is therefore possible that the map(), reduce() and write() methods will all be called on different nodes in the cluster. It is the responsibility of the Yothalot framework to make calls to your object at the right time. You are not supposed to make calls to methods of this class yourself.
Inheritance: implements Yothalot\MapReduce
Show file Open project: juditacs/wordcount Class Usage Examples

Public Properties

Property Type Description
$count
$word

Public Methods

Method Description
__construct ( $word, $count )

Method Details

__construct() public method

public __construct ( $word, $count )

Property Details

$count public property

public $count

$word public property

public $word