public function __construct($repo, $api) { if (empty($repo->languages)) { return false; } $this->repo = $repo; $this->repo_api = $api; $this->run(); }