Login   Register  
PHP Classes
elePHPant
Icontem

File: iocconfig.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Mark Rolich  >  IoC  >  iocconfig.php  >  Download  
File: iocconfig.php
Role: Configuration script
Content type: text/plain
Description: Dependencies configuration
Class: IoC
Resolve class dependencies from configuration
Author: By
Last change:
Date: 2 years ago
Size: 256 bytes
 

Contents

Class file image Download
<?php
$iocconfig 
= array(
    
'SuperUser' => 'User,Log',
    
'User'      => array('DB,Auth,Log', array(123)),
    
'Auth'      => array('Config,Log', array($config)),
    
'DB'        => 'Config,Log',
    
'Config'    => array('Log', array($config))
);
?>