How do I customize and use Phirehose functions?
问题 I'm trying to put in a check for Phirehose to stop running after 10 seconds or 100 tweets...basically, I want to be able to stop the script. I was told I could customize the statusUpdate() function or the heartBeat() function, but I'm uncertain how to do that. Right now, I'm just testing with the filter-track.php example. How do I customize the functions, and where should I call them in the class? class FilterTrackConsumer extends OauthPhirehose { /** * Enqueue each status * * @param string