PHP Classes

File: tests/Factory/services.json

Recommend this page to a friend!
  Classes of Kashif Abbasi  >  PHP DI Container  >  tests/Factory/services.json  >  Download  
File: tests/Factory/services.json
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP DI Container
Resolve dependencies from configuration files
Author: By
Last change:
Date: 5 years ago
Size: 1,445 bytes
 

Contents

Class file image Download
{
    "services": [
        {
                  "id": "class-a",
                        "class": "Tests\\DummyServices\\ClassA"
                            
        },
        {
                  "id": "class-b",
                        "class": "Tests\\DummyServices\\ClassB",
                        "arguments": [
                            {
                                          "id": "class-a"
                                                  
                            }
                                  
                        ]
                            
        },
        {
                  "id": "class-c",
                        "class": "Tests\\DummyServices\\ClassC",
                        "arguments": [
                            {
                                          "id": "class-d"
                                                  
                            }
                                  
                        ]
                            
        },
        {
                  "id": "class-d",
                        "class": "Tests\\DummyServices\\ClassD",
                        "arguments": [
                            {
                                          "id": "class-c"
                                                  
                            }
                                  
                        ]
                            
        }
          
    ]

}
For more information send a message to info at phpclasses dot org.