for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php namespace JobApis\Jobs\Client\Queries;
class CareersInGovQuery extends AbstractQuery
{
/**
* Careers in Government provides no search parameters, just
* a feed of all their latest jobs via RSS.
*/
* Get baseUrl
*
* @return string Value of the base url to this api
public function getBaseUrl()
return 'https://www.careersingovernment.com/rss';
}
* Get http method options based on current client. Good for adding POST parameters.
* @return array
public function getHttpMethodOptions()
return [
// Custom CURL options to connect to this RSS feed
'curl' => [
CURLOPT_HTTPHEADER => array(
"cache-control: no-cache",
),
]
];
* Get keyword
* @return string Attribute being used as the search keyword
public function getKeyword()
return null;