for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php namespace JobApis\Jobs\Client\Queries;
class GovtQuery extends AbstractQuery
{
/**
* Search query
*
* @var string
*/
protected $query;
* Organizations to search (comma-separated list of IDs)
protected $organization_ids;
* Highlight
* @var boolean
protected $hl;
* Result set size
* @var integer
protected $size;
* Starting record
protected $from;
* Comma-separated list of agency tags.
* Available tags: federal, state, county, city
protected $tags;
* Comma-separated latitude and longitude
protected $lat_lon;
* Get baseUrl
* @return string Value of the base url to this api
public function getBaseUrl()
return 'https://jobs.search.gov/jobs/search.json';
}
* Get keyword
* @return string Attribute being used as the search keyword
public function getKeyword()
return $this->query;