<?php
namespace YahnisElsts\PluginUpdateChecker\v5p7\Vcs;
if ( !class_exists(Reference::class, false) ):
/**
* This class represents a VCS branch or tag. It's intended as a read only, short-lived container
* that only exists to provide a limited degree of type checking.
*
* @property string $name
* @property string|null version
* @property string $downloadUrl
* @property string $updated
*
* @property string|null $changelog
* @property int|null $downloadCount
*/
class Reference {
private $properties = array();
public function __construct($properties = array()) {
$this->properties = $properties;
}
/**
* @param string $name
* @return mixed|null
*/
public function __get($name) {
return array_key_exists($name, $this->properties) ? $this->properties[$name] : null;
}
/**
* @param string $name
* @param mixed $value
*/
public function __set($name, $value) {
$this->properties[$name] = $value;
}
/**
* @param string $name
* @return bool
*/
public function __isset($name) {
return isset($this->properties[$name]);
}
}
endif;
| nama | waktu | ukuran | owner | perm | aksi |
|---|---|---|---|---|---|
| .. | |||||
| Api.php | 2026-11-26 08:19 | 14.58 KB | 76129f60960:kunden | -xw-x--x-- | |
| BaseChecker.php | 2026-11-26 08:19 | 547 B | 76129f60960:kunden | -xw-x--x-- | |
| BitBucketApi.php | 2026-11-26 08:19 | 6.73 KB | 76129f60960:kunden | -xw-x--x-- | |
| GitHubApi.php | 2026-11-26 08:19 | 11.35 KB | 76129f60960:kunden | -xw-x--x-- | |
| GitLabApi.php | 2026-11-26 08:19 | 11.3 KB | 76129f60960:kunden | -xw-x--x-- | |
| PluginUpdateChecker.php | 2026-11-26 08:19 | 8.89 KB | 76129f60960:kunden | -xw-x--x-- | |
| Reference.php | 2026-11-26 08:19 | 1.1 KB | 76129f60960:kunden | -xw-x--x-- | |
| ReleaseAssetSupport.php | 2026-11-26 08:19 | 2.33 KB | 76129f60960:kunden | -xw-x--x-- | |
| ReleaseFilteringFeature.php | 2026-11-26 08:19 | 3.11 KB | 76129f60960:kunden | -xw-x--x-- | |
| ThemeUpdateChecker.php | 2026-11-26 08:19 | 2.64 KB | 76129f60960:kunden | -xw-x--x-- | |
| VcsCheckerMethods.php | 2026-11-26 08:19 | 1.26 KB | 76129f60960:kunden | -xw-x--x-- | |