PHP Classes

PHP Service Locator Generator: Generate locator classes from configuration files

Recommend this page to a friend!
  Info   View files Documentation   View files View files (223)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2024-01-09 (2 months ago) RSS 2.0 feedNot enough user ratingsTotal: 270 All time: 7,707 This week: 113Up
Version License PHP version Categories
locator-generator 2.0.25GNU Lesser Genera...5.3PHP 5, Code Generation, Configuration, D...
Description 

Author

This package is a tool to generate locator classes from configuration files.

It takes as parameter the path of a given PHP configuration script file that returns an array with all configuration options.

The tool generates a script with a locator class with the configured features.

Innovation Award
PHP Programming Innovation award nominee
October 2014
Number 8
Service locator is a design pattern used to create service components implemented on top of abstraction layers.

This class implements an interesting approach to create service locator classes by generating code from configuration for the locator code.

Manuel Lemos
Picture of nvb
  Performance   Level  
Name: nvb <contact>
Classes: 20 packages by
Country: Germany Germany
Age: ???
All time rank: 150295 in Germany Germany
Week rank: 91 Up5 in Germany Germany Up
Innovation award
Innovation award
Nominee: 12x

Winner: 1x

Documentation

Locator Generator

This free as in freedom component easy up locator generation based on configuration files. Out of the box, it creates locator from an array configuration file and from propel1 schema.xml files.

It is using the php code generator component as a robust base for code generation.

The build status of the current master branch is tracked by Travis CI: Build Status Latest stable

The scrutinizer status are: code quality | build status

The versioneye status is: dependencies

Downloads: Downloads this Month

It is also available at openhub.net.

Why

  • don't like "serviceLocator->get('foo')" (inexplicit API) calls
  • like the configurable approach of some service locators out there
  • inspired by a php usergroup presentation called "the flipside of dependency injection" i'Ve seen "i'm not alone"
  • generated code is easy debug- and understandable (no magic inside)

How

  • a task specific configuration assembler creates a unified configuration object
  • unified configuration object is injected into the locator generator
  • the locator generator creates needed files
  • a file exists strategy can take care how to deal with existing files

Install

By Hand

mkdir -p vendor/net_bazzline/php_component_locator_generator
cd vendor/net_bazzline/php_component_locator_generator
git clone https://github.com/bazzline/php_component_locator_generator

With Packagist

composer require net_bazzline/php_component_locator_generator:dev-master

Example

Array Configuration File

Take a Look to configuration file.

How To Create

cd <component root directory>
./execute_example ArrayConfiguration
ls data/
vim data/FromArrayConfigurationFileLocator.php

Generated Code

<?php
/
 * @author Net\Bazzline\Component\Locator
 * @since 2014-06-07
 */

namespace Application\Service;

use My\OtherInterface as MyInterface;
use Application\Locator\BaseLocator as BaseLocator;

/
 * Class FromArrayConfigurationFileLocator
 *
 * @package Application\Service
 */
class FromArrayConfigurationFileLocator extends BaseLocator implements \My\Full\QualifiedInterface, MyInterface
{
    /
     * @var $factoryInstancePool
     */
    private $factoryInstancePool = array();

    /
     * @var $sharedInstancePool
     */
    private $sharedInstancePool = array();

    /
     * @return \Application\Model\ExampleUniqueInvokableInstance
     */
    public function getExampleUniqueInvokableInstance()
    {
        return new \Application\Model\ExampleUniqueInvokableInstance();
    }

    /
     * @return \Application\Factory\ExampleUniqueFactorizedInstanceFactory
     */
    public function getExampleUniqueFactorizedInstance()
    {
        return $this->fetchFromFactoryInstancePool('\Application\Factory\ExampleUniqueFactorizedInstanceFactory')->create();
    }

    /
     * @return \Application\Model\ExampleSharedInvokableInstance
     */
    public function getExampleSharedInvokableInstance()
    {
        return $this->fetchFromSharedInstancePool('\Application\Model\ExampleSharedInvokableInstance');
    }

    /
     * @return \Application\Factory\ExampleSharedFactorizedInstanceFactory
     */
    public function getExampleSharedFactorizedInstance()
    {
        $className = '\Application\Factory\ExampleSharedFactorizedInstanceFactory';

        if ($this->isNotInSharedInstancePool($className)) {
            $factoryClassName = '\Application\Factory\ExampleSharedFactorizedInstanceFactory';
            $factory = $this->fetchFromFactoryInstancePool($factoryClassName);

            $this->addToSharedInstancePool($className, $factory->create());
        }

        return $this->fetchFromSharedInstancePool($className);
    }
    //... code for internal methods
}

The Locator is taking care of the instance pooling.

Behaviour

  • creates a FactoryInterface file
  • creates a InvalidArgumentException if a namespace is given

Terms

Benefits

  • on way of calling the locator generator "php bin/generate_locator <path to configuration file>"
  • assembler, method builder and file exists strategy are configuration based runtime variables
  • highly configurable * each configuration file needs to be a simple php array * mandatory array keys are * assembler * file_exists_strategy * optional array key is * boostrap_file * rest of configuration is based on the given assembler
  • shipped with two assembler implementations * FromArrayAssembler * mandatory array keys * class_name <string> * file_path <string> * optional array keys * extends <array> (can be empty) * implements <array> (can be empty) * instances <array> (can be empty) * alias <string> * is_factory <boolean> * is_shared <boolean> * method_body_builder <string> * method_prefix <string> * namespace <string> (can be empty) * uses <array> (can be empty) * alias <string> * FromPropelSchemaXmlAssembler * mandatory array keys * class_name <string> * file_path <string> * optional array keys * extends <array> (can be empty) * implements <array> (can be empty) * method_prefix * namespace <string> (can be empty) * path_to_schema_xml <string> * uses <array> (can be empty) * implement the AssemblerInterface to write your own assembler
  • shipped with two file exists strategies * DeleteStrategy * SuffixWithCurrentTimestampStrategy * implement the FileExistsStrategyInterface to write your own strategy
  • shipped with five method body builder implementations * FetchFromFactoryInstancePoolBuilder used internally by the generated locator * FetchFromSharedInstancePoolBuilder used internally by the generated locator * FetchFromSharedInstancePoolOrCreateByFactoryBuilder used internally by the generated locator * NewInstanceBuilder used internally by the generated locator * PropelQueryCreateBuilder as an example to use your own method body builder * ValidatedInstanceCreationBuilder as an additional example how to use the power of the method body builder support to generate own instance creation code * implement the MethodBodyBuilderInterface to write your own method body builder
  • uses separate component for php code generation

API

The API is available at www.bazzline.net, thanks to apigen and the api document builder.

History

  • upcomming * @todo * added unit test for * Command Configuration/Validator/ * Generator Process/ * add "default" section in the configuration for "is_shared" and "is_factory" (and maybe more) * add "verify" method to configuration that throws an error if not all mandatory parameters are set * implement validation of used interface- or class names by adding "autoloader class path" * implement a flag to create a LocatorInterface out of the written Locator * implement "FromPath" assembler that scans the path and iterates through the path and fetches the php class or interfaces * split readme into multiple files * use "net_bazzline/php_component_cli_environment" to create "net_bazzline_generate_locator" * use "net_bazzline/php_component_cli_environment" to create "net_bazzline_generate_locator_configuration <Array|PropelSchemaXml|PropelWithNamespaceSchemaXml> <output file path>" * added php 7 continous integration run for travis * moved to psr-4 autoloading * updated dependencies
  • 2.0.9 - released at 22.03.2016 * updated dependencies
  • 2.0.8 - released at 11.12.2015 * updated dependencies
  • 2.0.7 - released at 01.12.2015 * updated dependencies
  • 2.0.6 - released at 29.11.2015 * fixed issue 6 * fixed issue 7 * move documentation to www.bazzline.net * updated dependencies
  • 2.0.5 - released at 18.11.2015 * updated depenceny
  • 2.0.4 - released at 19.09.2015 * updated depenceny
  • 2.0.3 - released at 18.09.2015 * updated depenceny
  • 2.0.2 - released at 28.08.2015 * updated depenceny
  • 2.0.1 - released at 04.07.2015 * updated depenceny
  • 2.0.0 - released at 03.06.2015 * Generator.php now throws "InvalidArgumentException" instead of "RuntimeException * Generator now tries to create the provided directory if it does not exists * fixed issue/2 * fixed issue/4 * fixed issue/5 * implement usage of php_component_cli_arguments * implement usage of php_component_command * renamed "bin/generalte_locator" to "bin/net_bazzline_generate_locator"
  • 1.5.1 - released at 27.05.2015 * fixed broken entry of "bin" in composer.json
  • 1.5.0 - released at 27.05.2015 * renamed "bin/generateLocator.php" to "bin/generate_locator" * renamed "example/[..]/run.php" to "example/[...]/run" * fixed issue 3
  • 1.4.2 - released at 22.05.2015 * updated dependencies
  • 1.4.1 - released at 08.02.2015 * removed dependency to apigen
  • 1.4.0 - released at 07.02.2015 * implemented generation of "LocatorGeneratorInterface" * easy up usage of examples by adding command "execute_example" * added example for "method_name_without_namespace" * updated api * updated dependencies
  • 1.3.1 - released at 07.02.2015 * easy up usage of examples (by adding a "run.php" in the directories * updated api * updated dependencies
  • 1.3.0 - released at 22.12.2014 * implemented "method_name_without_namespace" option in "FromPropelSchemaXmlAssembler" ("createMyTable" instead of "createMyNamespaceMyTable")
  • 1.2.1 - released at 21.12.2014 * updated api * refactored Command * refactored FromArrayAssembler * refactored FromPropelSchemaXmlAssembler
  • 1.2.0 - released at 20.12.2014 * fixed bug in propel name space FromPropelSchemaXmlAssembler * refactored FromPropelSchemaXmlAssembler * extended usage output
  • 1.1.0 - released at 13.09.2014 * enhanced Command * absolute configuration paths are now supported * fixed (stupid) broken unittest * fixed error in Command * check if "bootstrap_file" exists in configuration was not well implemented * updated dependencies
  • 1.0.1 - released at 03.09.2014 * added api * fixed broken links * adapted composer.json project name * moved command logic into simple Command class * added check in "generateLocator.php" to validate if installed as composer component or not
  • 1.0.0 - released at 31.08.2014 * initial project start * unit tests * examples * codebase itself * api description

  Files folder image Files  
File Role Description
Files folder imagebin (1 file)
Files folder imageexample (5 files, 3 directories)
Files folder imagesource (7 files, 12 directories)
Files folder imagetest (4 files, 8 directories)
Accessible without login Plain text file .gitignore Data Auxiliary data
Accessible without login Plain text file .scrutinizer.yml Data Auxiliary data
Accessible without login Plain text file .travis.yml Data Auxiliary data
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file execute_example Data Auxiliary data
Accessible without login Plain text file generate_api Data Auxiliary data
Accessible without login Plain text file LICENSE Lic. Auxiliary data
Accessible without login Plain text file phpunit.xml.dist Data Auxiliary data
Accessible without login Plain text file README.md Doc. Auxiliary data

  Files folder image Files  /  bin  
File Role Description
  Accessible without login Plain text file net_bazzline_generate_locator Data Auxiliary data

  Files folder image Files  /  example  
File Role Description
Files folder imageArrayConfiguration (4 files)
Files folder imagePropelSchemaXml (3 files)
Files folder imagePropelWithNamespaceSchemaXml (3 files)
  Accessible without login Plain text file make_a_delete_request.php Example Example script
  Accessible without login Plain text file make_a_get_request.php Example Example script
  Accessible without login Plain text file make_a_patch_request.php Example Example script
  Accessible without login Plain text file make_a_post_request.php Example Example script
  Accessible without login Plain text file make_a_put_request.php Example Example script

  Files folder image Files  /  example  /  ArrayConfiguration  
File Role Description
  Accessible without login Plain text file boostrap.php Aux. Example script
  Accessible without login Plain text file configuration.php Conf. Example script
  Accessible without login Plain text file run Data Auxiliary data
  Plain text file ValidatedInstanceCreationBuilder.php Class Example script

  Files folder image Files  /  example  /  PropelSchemaXml  
File Role Description
  Accessible without login Plain text file configuration.php Conf. Example script
  Accessible without login Plain text file run Data Auxiliary data
  Accessible without login Plain text file schema.xml Data Auxiliary data

  Files folder image Files  /  example  /  PropelWithNamespaceSchemaXml  
File Role Description
  Accessible without login Plain text file configuration.php Conf. Example script
  Accessible without login Plain text file run Data Auxiliary data
  Accessible without login Plain text file schema.xml Data Auxiliary data

  Files folder image Files  /  source  
File Role Description
Files folder imageBuilder (2 files)
Files folder imageConfiguration (4 files, 2 directories)
Files folder imageDispatcher (3 files)
Files folder imageFileExistsStrategy (6 files)
Files folder imageGenerator (7 files)
Files folder imageHeaderLine (5 files)
Files folder imageMethodBodyBuilder (8 files)
Files folder imageOption (11 files, 8 directories)
Files folder imageProcess (2 directories)
Files folder imageRequest (2 files)
Files folder imageResponse (1 file)
Files folder imageResponseBehaviour (3 files)
  Plain text file Exception.php Class Class source
  Plain text file FactoryInterface.php Class Class source
  Plain text file InstanceDependentInterface.php Class Class source
  Plain text file InvalidArgumentException.php Class Class source
  Plain text file LocatorInterface.php Class Class source
  Plain text file ProcessPipeFactory.php Class Class source
  Plain text file RuntimeException.php Class Class source

  Files folder image Files  /  source  /  Builder  
File Role Description
  Plain text file Builder.php Class Class source
  Plain text file BuilderFactory.php Class Class source

  Files folder image Files  /  source  /  Configuration  
File Role Description
Files folder imageAssembler (6 files)
Files folder imageValidator (2 files)
  Plain text file Configuration.php Class Class source
  Plain text file ConfigurationFactory.php Class Class source
  Plain text file Instance.php Class Class source
  Plain text file Uses.php Class Class source

  Files folder image Files  /  source  /  Configuration  /  Assembler  
File Role Description
  Plain text file AbstractAssembler.php Class Class source
  Plain text file AssemblerInterface.php Class Class source
  Plain text file FromArrayAssembler.php Class Class source
  Plain text file FromPropelSchemaXmlAssembler.php Class Class source
  Plain text file InvalidArgumentException.php Class Class source
  Plain text file RuntimeException.php Class Class source

  Files folder image Files  /  source  /  Configuration  /  Validator  
File Role Description
  Plain text file ReadableFilePath.php Class Class source
  Plain text file RuntimeException.php Class Class source

  Files folder image Files  /  source  /  Dispatcher  
File Role Description
  Plain text file Dispatcher.php Class Class source
  Plain text file DispatcherInterface.php Class Class source
  Plain text file LoggingDispatcher.php Class Class source

  Files folder image Files  /  source  /  FileExistsStrategy  
File Role Description
  Plain text file AbstractStrategy.php Class Class source
  Plain text file DeleteStrategy.php Class Class source
  Plain text file FileExistsStrategyInterface.php Class Class source
  Plain text file InvalidArgumentException.php Class Class source
  Plain text file RuntimeException.php Class Class source
  Plain text file SuffixWithCurrentTimestampStrategy.php Class Class source

  Files folder image Files  /  source  /  Generator  
File Role Description
  Plain text file AbstractGenerator.php Class Class source
  Plain text file AbstractInterfaceGenerator.php Class Class source
  Plain text file FactoryInterfaceGenerator.php Class Class source
  Plain text file GeneratorInterface.php Class Class source
  Plain text file InvalidArgumentExceptionGenerator.php Class Class source
  Plain text file LocatorGenerator.php Class Class source
  Plain text file LocatorInterfaceGenerator.php Class Class source

  Files folder image Files  /  source  /  HeaderLine  
File Role Description
  Plain text file AbstractContentType.php Class Class source
  Plain text file AbstractHeaderLine.php Class Class source
  Plain text file ContentTypeIsFormUtf8.php Class Class source
  Plain text file ContentTypeIsJson.php Class Class source
  Plain text file HeaderLineInterface.php Class Class source

  Files folder image Files  /  source  /  MethodBodyBuilder  
File Role Description
  Plain text file AbstractMethodBodyBuilder.php Class Class source
  Plain text file FetchFromFactoryInstancePoolBuilder.php Class Class source
  Plain text file FetchFromSharedInstancePoolBuilder.php Class Class source
  Plain text file FetchFromSharedIns...yFactoryBuilder.php Class Class source
  Plain text file MethodBodyBuilderInterface.php Class Class source
  Plain text file NewInstanceBuilder.php Class Class source
  Plain text file PropelQueryCreateBuilder.php Class Class source
  Plain text file RuntimeException.php Class Class source

  Files folder image Files  /  source  /  Option  
File Role Description
Files folder imageAuthentication (4 files)
Files folder imageAuthorization (1 file)
Files folder imageBehaviour (25 files)
Files folder imageCallback (4 files)
Files folder imageCookie (4 files)
Files folder imageFtp (10 files)
Files folder imageSecurity (15 files)
Files folder imageTransfer (28 files)
  Plain text file AbstractAuthentication.php Class Class source
  Plain text file AbstractSetOptionArrayValue.php Class Class source
  Plain text file AbstractSetOptionClosureValue.php Class Class source
  Plain text file AbstractSetOptionIntValue.php Class Class source
  Plain text file AbstractSetOptionMixedValue.php Class Class source
  Plain text file AbstractSetOptionStreamValue.php Class Class source
  Plain text file AbstractSetOptionStringValue.php Class Class source
  Plain text file AbstractSetOptionToFalse.php Class Class source
  Plain text file AbstractSetOptionToTrue.php Class Class source
  Plain text file OptionInterface.php Class Class source
  Plain text file SetOption.php Class Class source

  Files folder image Files  /  source  /  Option  /  Authentication  
File Role Description
  Plain text file EnableUnrestrictedAuth.php Class Class source
  Plain text file SetBasicAuthentication.php Class Class source
  Plain text file SetKeyPassword.php Class Class source
  Plain text file SetUsernameAndPassword.php Class Class source

  Files folder image Files  /  source  /  Option  /  Authorization  
File Role Description
  Plain text file EnableNetrc.php Class Class source

  Files folder image Files  /  source  /  Option  /  Behaviour  
File Role Description
  Plain text file DisableBody.php Class Class source
  Plain text file DisableProgress.php Class Class source
  Plain text file DisableSignal.php Class Class source
  Plain text file EnableAutoReferer.php Class Class source
  Plain text file EnableFailOnError.php Class Class source
  Plain text file EnableFollowAllocation.php Class Class source
  Plain text file EnableForbidReuse.php Class Class source
  Plain text file EnableFreshConnect.php Class Class source
  Plain text file EnableMute.php Class Class source
  Plain text file EnableVerbose.php Class Class source
  Plain text file SetConnectTimeOutInMilliSeconds.php Class Class source
  Plain text file SetConnectTimeOutInSeconds.php Class Class source
  Plain text file SetDnsCacheTimeout.php Class Class source
  Plain text file SetHttp200Aliases.php Class Class source
  Plain text file SetLowSpeedLimit.php Class Class source
  Plain text file SetMaxConnects.php Class Class source
  Plain text file SetMaxRedirs.php Class Class source
  Plain text file SetRange.php Class Class source
  Plain text file SetRedirProtocols.php Class Class source
  Plain text file SetResumeFrom.php Class Class source
  Plain text file SetStderr.php Class Class source
  Plain text file SetTcpNoDelay.php Class Class source
  Plain text file SetTimeCondition.php Class Class source
  Plain text file SetTimeOutInMilliSeconds.php Class Class source
  Plain text file SetTimeOutInSeconds.php Class Class source

  Files folder image Files  /  source  /  Option  /  Callback  
File Role Description
  Plain text file SetCallbackForPassWordFunction.php Class Class source
  Plain text file SetCallbackForProgressFunction.php Class Class source
  Plain text file SetCallbackForReadFunction.php Class Class source
  Plain text file SetCallbackForWriteFunction.php Class Class source

  Files folder image Files  /  source  /  Option  /  Cookie  
File Role Description
  Plain text file EnableCookieSession.php Class Class source
  Plain text file SetCookie.php Class Class source
  Plain text file SetCookieFile.php Class Class source
  Plain text file SetCookieJar.php Class Class source

  Files folder image Files  /  source  /  Option  /  Ftp  
File Role Description
  Plain text file EnableFtpAppend.php Class Class source
  Plain text file EnableFtpAscii.php Class Class source
  Plain text file EnableFtpCreateMissingDirs.php Class Class source
  Plain text file EnableFtpListOnly.php Class Class source
  Plain text file EnableFtpUseEprt.php Class Class source
  Plain text file EnableFtpUseEpsv.php Class Class source
  Plain text file SetFtpPort.php Class Class source
  Plain text file SetFtpSslAuth.php Class Class source
  Plain text file SetPostQuote.php Class Class source
  Plain text file SetQuote.php Class Class source

  Files folder image Files  /  source  /  Option  /  Security  
File Role Description
  Plain text file DisableSslVerifyHost.php Class Class source
  Plain text file DisableSslVerifyPeer.php Class Class source
  Plain text file EnableCertInfo.php Class Class source
  Plain text file SetCaInfo.php Class Class source
  Plain text file SetCaPath.php Class Class source
  Plain text file SetSslCert.php Class Class source
  Plain text file SetSslCertPasswd.php Class Class source
  Plain text file SetSslCertType.php Class Class source
  Plain text file SetSslCipherList.php Class Class source
  Plain text file SetSslEngine.php Class Class source
  Plain text file SetSslEngineDefault.php Class Class source
  Plain text file SetSslKey.php Class Class source
  Plain text file SetSslKeyPasswd.php Class Class source
  Plain text file SetSslKeyType.php Class Class source
  Plain text file SetSslVersion.php Class Class source

  Files folder image Files  /  source  /  Option  /  Transfer  
File Role Description
  Plain text file DisableDnsUseGlobalCache.php Class Class source
  Plain text file EnableBinaryTransfer.php Class Class source
  Plain text file EnableCrlf.php Class Class source
  Plain text file EnableFileTime.php Class Class source
  Plain text file EnableHeader.php Class Class source
  Plain text file EnableHttpProxyTunnel.php Class Class source
  Plain text file EnableSafeUpload.php Class Class source
  Plain text file EnableTransferText.php Class Class source
  Plain text file EnableUpload.php Class Class source
  Plain text file SetBufferSize.php Class Class source
  Plain text file SetEgdSocket.php Class Class source
  Plain text file SetEncoding.php Class Class source
  Plain text file SetFile.php Class Class source
  Plain text file SetHttpVersion.php Class Class source
  Plain text file SetInFile.php Class Class source
  Plain text file SetInFileSize.php Class Class source
  Plain text file SetInterface.php Class Class source
  Plain text file SetPort.php Class Class source
  Plain text file SetProxy.php Class Class source
  Plain text file SetProxyAuth.php Class Class source
  Plain text file SetProxyPort.php Class Class source
  Plain text file SetProxyType.php Class Class source
  Plain text file SetProxyUserPwd.php Class Class source
  Plain text file SetRandomFile.php Class Class source
  Plain text file SetReferer.php Class Class source
  Plain text file SetTimeValue.php Class Class source
  Plain text file SetUserAgent.php Class Class source
  Plain text file SetWriteHeader.php Class Class source

  Files folder image Files  /  source  /  Process  
File Role Description
Files folder imageTransformer (3 directories)
Files folder imageValidator (4 files)

  Files folder image Files  /  source  /  Process  /  Transformer  
File Role Description
Files folder imageAssembler (1 file)
Files folder imageFileLoader (2 files)
Files folder imageGenerator (6 files)

  Files folder image Files  /  source  /  Process  /  Transformer  /  Assembler  
File Role Description
  Plain text file ConfigurationAssembler.php Class Class source

  Files folder image Files  /  source  /  Process  /  Transformer  /  FileLoader  
File Role Description
  Plain text file ConfigurationFileLoader.php Class Class source
  Plain text file IfAvailableBootstrapFileLoader.php Class Class source

  Files folder image Files  /  source  /  Process  /  Transformer  /  Generator  
File Role Description
  Plain text file ArgumentsGenerator.php Class Class source
  Plain text file FactoryGenerator.php Class Class source
  Plain text file FileExistsStrategyGenerator.php Class Class source
  Plain text file InvalidArgumentExc...onFileGenerator.php Class Class source
  Plain text file LocatorFileGenerator.php Class Class source
  Plain text file LocatorInterfaceFileGenerator.php Class Class source

  Files folder image Files  /  source  /  Process  /  Validator  
File Role Description
  Plain text file ArgumentsValidator.php Class Class source
  Plain text file ConfigurationDataValidator.php Class Class source
  Plain text file ConfigurationValidator.php Class Class source
  Plain text file IsCommandLineValidator.php Class Class source

  Files folder image Files  /  source  /  Request  
File Role Description
  Plain text file Request.php Class Class source
  Plain text file RequestFactory.php Class Class source

  Files folder image Files  /  source  /  Response  
File Role Description
  Plain text file Response.php Class Class source

  Files folder image Files  /  source  /  ResponseBehaviour  
File Role Description
  Plain text file ConvertJsonToArrayBehaviour.php Class Class source
  Plain text file ResponseBehaviourInterface.php Class Class source
  Plain text file ThrowRuntimeExcept...eLimitBehaviour.php Class Class source

  Files folder image Files  /  test  
File Role Description
Files folder imageBuilder (1 file)
Files folder imageConfiguration (3 files, 1 directory)
Files folder imageFileExistsStrategy (3 files)
Files folder imageGenerator (3 files)
Files folder imageMethodBodyBuilder (6 files)
Files folder imageRequest (1 file)
Files folder imageResponse (1 file)
Files folder imageResponseBehaviour (2 files)
  Plain text file AbstractTestCase.php Class Class source
  Accessible without login Plain text file bootstrap.php Test Unit test script
  Plain text file FactoryInterfaceGeneratorTest.php Class Class source
  Plain text file LocatorTestCase.php Class Class source

  Files folder image Files  /  test  /  Builder  
File Role Description
  Accessible without login Plain text file BuilderTest.php Test Unit test script

  Files folder image Files  /  test  /  Configuration  
File Role Description
Files folder imageAssembler (3 files)
  Plain text file ConfigurationTest.php Class Class source
  Plain text file InstanceTest.php Class Class source
  Plain text file UsesTest.php Class Class source

  Files folder image Files  /  test  /  Configuration  /  Assembler  
File Role Description
  Accessible without login Plain text file FromArrayAssemblerTest.php Test Unit test script
  Accessible without login Plain text file FromPropelSchemaXmlAssemblerTest.php Test Unit test script
  Accessible without login Plain text file schema.xml Data Auxiliary data

  Files folder image Files  /  test  /  FileExistsStrategy  
File Role Description
  Plain text file AbstractStrategyTest.php Class Class source
  Plain text file DeleteStrategyTest.php Class Class source
  Plain text file SuffixWithCurrentT...ampStrategyTest.php Class Class source

  Files folder image Files  /  test  /  Generator  
File Role Description
  Plain text file AbstractGeneratorTest.php Class Class source
  Plain text file InvalidArgumentExc...onGeneratorTest.php Class Class source
  Plain text file LocatorGeneratorTest.php Class Class source

  Files folder image Files  /  test  /  MethodBodyBuilder  
File Role Description
  Plain text file AbstractMethodBodyBuilderTest.php Class Class source
  Plain text file FetchFromFactoryIn...PoolBuilderTest.php Class Class source
  Plain text file FetchFromSharedIns...PoolBuilderTest.php Class Class source
  Plain text file FetchFromSharedIns...toryBuilderTest.php Class Class source
  Plain text file NewInstanceBuilderTest.php Class Class source
  Plain text file PropelQueryCreateBuilderTest.php Class Class source

  Files folder image Files  /  test  /  Request  
File Role Description
  Accessible without login Plain text file RequestTest.php Test Unit test script

  Files folder image Files  /  test  /  Response  
File Role Description
  Accessible without login Plain text file ResponseTest.php Test Unit test script

  Files folder image Files  /  test  /  ResponseBehaviour  
File Role Description
  Accessible without login Plain text file ConvertJsonToArrayBehaviourTest.php Test Unit test script
  Accessible without login Plain text file ThrowRuntimeExcept...itBehaviourTest.php Test Unit test script

 Version Control Unique User Downloads Download Rankings  
 100%
Total:270
This week:0
All time:7,707
This week:113Up