PHP Classes

File: tests/classes/Acme/Components/TestComponentG.php

Recommend this page to a friend!
  Classes of Emmanuel Antico   Injector   tests/classes/Acme/Components/TestComponentG.php   Download  
File: tests/classes/Acme/Components/TestComponentG.php
Role: Unit test script
Content type: text/plain
Description: Unit test script
Class: Injector
Inject dependencies defined in annotation comments
Author: By
Last change:
Date: 9 years ago
Size: 252 bytes
 

Contents

Class file image Download
<?php
namespace classes\Acme\Components;

/**
 * @inject.strict
 * @inject.provider Acme\Provider\HTTPServiceProvider
 */
class TestComponentG {
   
/**
     * @inject.service mail
     */
   
public $mail;
   
   
/**
     * @inject.service http
     */
   
public $http;
}

?>