yaquawa/look-alike

A tiny lib for copy properties from one to another.

Installs: 92

Dependents: 1

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:project

pkg:composer/yaquawa/look-alike

v1.0.2 2020-09-02 15:28 UTC

This package is auto-updated.

Last update: 2025-09-29 02:57:59 UTC


README

A tiny lib for copy properties from one to another even if the property is not public.

Installation

composer require yaquawa/look-alike

Usage

use Yaquawa\LookAlike\LookAlike;

$lookAlike = new LookAlike($targetObjectOrClass);
$lookAlike->syncProperties($objectOrClass, ['property_1', 'property_2']);