A component factory with the Symfony DependencyInjection component

English | 日本語

Stagehand_ComponentFactory provides an object factory based on the Symfony DependencyInjection component. It helps developers build their own object factory frameworks.

Features

  • Provides an object factory and meta object factory, and its interfaces.
  • Compiles a DI container.
  • Provides an unfreezeable container builder.
  • Partially initializes a DI container for testing.

Requirements

Installation

Package Version Stability Release Date License
Stagehand_ComponentFactory 1.0.1 stable 2012-05-03 New BSD License Release Notes

Stagehand_ComponentFactory can be installed using Composer or PEAR. The following sections explain each installation method.

Composer

First, add the dependency to piece/stagehand-componentfactory into your composer.json file as the following:

1{
2    "require": {
3        "piece/stagehand-componentfactory": ">=1.0.0" 
4    }
5}

Second, update your dependencies as the following:

composer update

PEAR

pear channel-discover pear.piece-framework.com
pear install piece/stagehand_testrunner

Documentation

Source

Browse Source Code

Browse Source Code

Git Access

git clone git://github.com/piece/stagehand-componentfactory.git