Created
November 18, 2017 13:01
-
-
Save kargirwar/3d40d7d4460ac2fb1498e5cf09fa3a84 to your computer and use it in GitHub Desktop.
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 | |
//Client.php | |
function __construct() { | |
# create our client object | |
$this->mClient = new \GearmanClient(); | |
# add the default server (localhost) | |
$this->mClient->addServer(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment