PHP 8.0.30
Preview: ReachContact.php Size: 673 B
/home/certprox/template.certproxywizard.com/wp-content/plugins/hostinger-reach/src/Dto/ReachContact.php

<?php

namespace Hostinger\Reach\Dto;

class ReachContact {
    private string $email;
    private string $name;
    private string $surname;
    private array $metadata;

    public function __construct( string $email, string $name, string $surname, array $metadata = array() ) {
        $this->email    = $email;
        $this->name     = $name;
        $this->surname  = $surname;
        $this->metadata = $metadata;
    }

    public function to_array(): array {
        return array(
            'email'    => $this->email,
            'name'     => $this->name,
            'surname'  => $this->surname,
            'metadata' => $this->metadata,
        );
    }
}

Directory Contents

Dirs: 0 × Files: 5

Name Size Perms Modified Actions
1.73 KB lrw-r--r-- 2026-06-10 16:30:29
Edit Download
2.56 KB lrw-r--r-- 2026-06-10 16:30:29
Edit Download
5.81 KB lrw-r--r-- 2026-06-10 16:30:29
Edit Download
673 B lrw-r--r-- 2026-06-10 16:30:29
Edit Download
1.77 KB lrw-r--r-- 2026-06-10 16:30:29
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).