mrkrstphr/instantiator

Instantiate Objects in PHP

1.0.0 2017-04-13 13:19 UTC

This package is auto-updated.

Last update: 2024-10-11 14:09:03 UTC


README

Instantiate Objects in PHP

Build Status

Installation

composer install mrkrstphr/instantiator

Usage

Instantiate objects with arguments:

$instantiator = new mrkrstphr\Instantiator();
$object = $instantiator->instantiate('\DateTime', ['time' => '2016-04-01']);