Created
February 5, 2012 11:31
-
-
Save icambridge/1744882 to your computer and use it in GitHub Desktop.
Example Gearman Job
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class Net_Gearman_Job_Example extends Net_Gearman_Job_Common | |
{ | |
public function run ($arg) | |
{ | |
print $arg.PHP_EOL; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment