PHP Classes

File: configuration/locator.php

Recommend this page to a friend!
  Classes of nvb   PHP Unique Number Repository   configuration/locator.php   Download  
File: configuration/locator.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: PHP Unique Number Repository
Maintain repositories of unique numbers via an API
Author: By
Last change:
Date: 4 years ago
Size: 2,275 bytes
 

Contents

Class file image Download
<?php

return array(
   
'assembler' => '\Net\Bazzline\Component\Locator\Configuration\Assembler\FromArrayAssembler',
   
'class_name' => 'ApplicationLocator',
   
'file_exists_strategy' => '\Net\Bazzline\Component\Locator\FileExistsStrategy\DeleteStrategy',
   
'file_path' => __DIR__ . '/../source/Net/Bazzline/UniqueNumberRepository/Application/Service',
   
'implements' => array(
       
'\Net\Bazzline\Component\Locator\LocatorInterface'
   
),
   
'instances' => array(
        array(
           
'alias' => 'StorageFactory',
           
'class_name' => '\Net\Bazzline\Component\Database\FileStorage\Storage\StorageFactory',
           
'is_factory' => false,
           
'is_shared' => true
       
),
        array(
           
'alias' => 'RepositoryStorage',
           
'class_name' => '\Net\Bazzline\UniqueNumberRepository\Infrastructure\Storage\RepositoryStorageFactory',
           
'is_factory' => true,
           
'is_shared' => true,
           
'return_value' => '\Net\Bazzline\UniqueNumberRepository\Infrastructure\Storage\RepositoryStorage'
       
),
        array(
           
'alias' => 'UniqueNumberStorage',
           
'class_name' => '\Net\Bazzline\UniqueNumberRepository\Infrastructure\Storage\UniqueNumberStorageFactory',
           
'is_factory' => true,
           
'is_shared' => true,
           
'return_value' => '\Net\Bazzline\UniqueNumberRepository\Infrastructure\Storage\UniqueNumberStorage'
       
),
        array(
           
'alias' => 'UniqueNumberEnumerator',
           
'class_name' => '\Net\Bazzline\UniqueNumberRepository\Application\Service\UniqueNumberEnumeratorFactory',
           
'is_factory' => true,
           
'is_shared' => true,
           
'return_value' => '\Net\Bazzline\UniqueNumberRepository\Application\Service\NumberEnumerator'
       
)
       
/*
        array(
            'alias' => 'CliProgressBar',
            'class_name' => '\Net\Bazzline\Component\Cli\ProgressBar\ProgressBar',
            'is_factory' => false,
            'is_shared' => true
        ),
        */
   
),
   
'method_prefix' => 'get',
   
'namespace' => 'Net\Bazzline\UniqueNumberRepository\Application\Service',
);