PHP Classes

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

Recommend this page to a friend!
  Classes of Emmanuel Antico   Injector   tests/classes/Acme/Components/TestComponentF.php   Download  
File: tests/classes/Acme/Components/TestComponentF.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: 189 bytes
 

Contents

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

/**
 * @inject.strict
 * @inject.provider Acme\Providers\MailServiceProvider
 */
class TestComponentF {
   
/**
     * @inject.service mail
     */
   
public $mail;
}