PHP Classes

File: tests/Fixtures/phpServicesConfig.php

Recommend this page to a friend!
  Classes of Kashif Abbasi   PHP DI Container   tests/Fixtures/phpServicesConfig.php   Download  
File: tests/Fixtures/phpServicesConfig.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: PHP DI Container
Resolve dependencies from configuration files
Author: By
Last change:
Date: 7 years ago
Size: 433 bytes
 

Contents

Class file image Download
<?php

return [
   
'class-a' => [
       
'class' => 'Tests\\DummyServices\\ClassA',
    ],
   
'class-b' => [
       
'class' => 'Tests\\DummyServices\\ClassB',
       
'arguments' => [
           
'class-a'
       
]
    ],
   
'class-c' => [
       
'class' => 'Tests\\DummyServices\\ClassC',
       
'arguments' => [
           
'class-a',
           
'class-b'
       
]
    ],
];