SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 172.67.162.162 | ADMIN IP 216.73.216.51
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE
Current File : /home/bravetechrwanda/itiministry.org/plugins/give/src/License/DataTransferObjects//Download.php
<?php
namespace Give\License\DataTransferObjects;
/**
* @since 4.3.0
*/
class Download
{
public int $index;
public int $attachmentId;
public string $thumbnailSize;
public string $name;
public string $file;
public string $condition;
public int $arrayIndex;
public string $pluginSlug;
public string $readme;
public string $currentVersion;
/**
* @since 4.3.0
*/
public static function fromData(array $data): self
{
$self = new self();
$self->index = (int)($data['index'] ?? 0);
$self->attachmentId = (int)($data['attachment_id'] ?? 0);
$self->thumbnailSize = (string)($data['thumbnail_size'] ?? 'thumbnail');
$self->name = (string)($data['name'] ?? '');
$self->file = (string)($data['file'] ?? '');
$self->condition = (string)($data['condition'] ?? '');
$self->arrayIndex = (int)($data['array_index'] ?? 0);
$self->pluginSlug = (string)($data['plugin_slug'] ?? '');
$self->readme = (string)($data['readme'] ?? '');
$self->currentVersion = (string)($data['current_version'] ?? '');
return $self;
}
}
| NAME |
SIZE |
LAST TOUCH |
USER |
CAN-I? |
FUNCTIONS |
| .. | -- | 25 May 2026 4.20 PM | bravetechrwanda / bravetechrwanda | 0755 | |
| | | | | |
| Download.php | 1.138 KB | 22 May 2025 12.18 AM | bravetechrwanda / bravetechrwanda | 0644 | |
| License.php | 2.5 KB | 22 May 2025 12.18 AM | bravetechrwanda / bravetechrwanda | 0644 | |