Fragen\GitHub_Updater\Language_Pack::__construct PHP Метод

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

Language_Pack constructor.
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();
    }