public __construct ( object $repo, object $api ) | ||
$repo | object | Plugin/Theme object. |
$api | object | Git host API object. |
public function __construct($repo, $api)
{
if (empty($repo->languages)) {
return false;
}
$this->repo = $repo;
$this->repo_api = $api;
$this->run();
}