Created
November 18, 2017 13:07
-
-
Save kargirwar/2e6cbc5f30f19d72e45420cd4563a527 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 | |
public function run(string $user) { | |
$this->mClient->doBackground(self::JOB_TYPE_REPORT, $user); | |
if ($this->mClient->returnCode() != GEARMAN_SUCCESS) { | |
throw new \Exception("Fatal Error"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment