<?php


namespace Mainto\RpcServer\Util\ObjectMapper;


use ReflectionProperty;

class PropertyRef {
    public ReflectionProperty $property;
    public string $type;
    public string $setterMethod;
    public string $name;

    public function __construct (ReflectionProperty $property, string $type, string $setMethod) {
        $this->property = $property;
        $this->type = $type;
        $this->setterMethod = $setMethod;
        $this->name = $property->name;
    }
}