__construct() публичный Метод

Constructor
public __construct ( string $query = null, integer $limit = 300 )
$query string
$limit integer
Пример #1
0
 /**
  * @param null $query
  * @param null $forkedRepoQuery
  * @param int $limit
  * @param Client $github
  */
 public function __construct(Client $github, $query = null, $forkedRepoQuery = null, $limit = 300)
 {
     parent::__construct($query, $limit);
     $this->forkedRepoQuery = $forkedRepoQuery;
     $this->github = $github;
 }