g4/factory

factory php library

1.4.0 2017-08-15 12:07 UTC

This package is not auto-updated.

Last update: 2024-11-23 19:06:13 UTC


README

factory - php library

Install

Via Composer

composer require g4/factory

Usage

Interfaces

<?php

namespace G4\Factory;

interface CreateInterface
{
    public function create();
}

interface MappingInterface
{
    public function id();

    public function map();
}

interface ReconstituteInterface
{
    public function reconstitute();
}

Development

Install dependencies

$ composer install

Run tests

$ composer test

License

(The MIT License) see LICENSE file for details...