for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php namespace JobApis\Jobs\Client\Queries;
class PhpjobsQuery extends AbstractQuery
{
/**
* search_string
*
* The search query.
* @var string
*/
protected $search_string;
* country_code
* The country string to search.
protected $country_code;
* format
* Must be 'rss20'
protected $format;
* search
* Must be '1'
protected $search;
* Get baseUrl
* @return string Value of the base url to this api
public function getBaseUrl()
return 'http://www.phpjobs.com/search';
}
* Get keyword
* @return string Attribute being used as the search keyword
public function getKeyword()
return $this->search_string;
public function defaultAttributes()
return [
'format' => 'rss20',
'search' => '1',
];
public function requiredAttributes()
'format',
'search',