mrkrstphr/instantiator

Instantiate Objects in PHP

1.0.0 2017-04-13 13:19 UTC

This package is auto-updated.

Last update: 2024-11-11 14:16:49 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']);