/** * @param $base64Resume * @param $fileName * @return \SimpleXMLElement */ public function parse($base64Resume, $fileName) { // Seems that the parse has better results with text files $fileName = str_replace('.html', '.txt', $fileName); $result = $this->client->post('/candidate/parse/', array('base64stream' => $base64Resume, 'fileName' => $fileName)); return $result; }
/** * @param $pathInfo * @param array $params * @return \SimpleXMLElement */ public function post($pathInfo, array $params = array()) { $params['queueid'] = $this->id; return $this->client->post($pathInfo, $params); }