mrkrstphr/instantiator

Instantiate Objects in PHP

1.0.0 2017-04-13 13:19 UTC

This package is auto-updated.

Last update: 2024-12-11 14:27:29 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']);