Skip to content

Instantly share code, notes, and snippets.

@kargirwar
Created November 18, 2017 13:01
Show Gist options
  • Save kargirwar/3d40d7d4460ac2fb1498e5cf09fa3a84 to your computer and use it in GitHub Desktop.
Save kargirwar/3d40d7d4460ac2fb1498e5cf09fa3a84 to your computer and use it in GitHub Desktop.
<?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