Skip to content
This repository has been archived by the owner on Aug 11, 2021. It is now read-only.

Latest commit

 

History

History
39 lines (24 loc) · 553 Bytes

README.markdown

File metadata and controls

39 lines (24 loc) · 553 Bytes

Description

Storm-PHP

An implementation of the multi-language support for storm (github.com/nathanmarz/storm).

Version

version 0.01

Examples

require_once 'storm.php';

class SplitSentenceBolt extends BasicBolt {
	public function process($tuple)
	{
		$words = explode(' ', $tuple->values[0]);
		
		foreach($words as $word)
			$this->emit(array($word));
	}
}

$splitsentence = new SplitSentenceBolt();
$splitsentence->run();

Author

Bryan Peterson - @lazyshot