mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-08-08 16:06:31 +02:00
Implement InversionOfControl aware DependencyInjection
This commit is contained in:
committed by
Dominik Liebler
parent
3114cf1013
commit
5c36fadf1a
19
DependencyInjection/AbstractConfig.php
Normal file
19
DependencyInjection/AbstractConfig.php
Normal file
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
namespace DesignPatterns\DependencyInjection;
|
||||
|
||||
/**
|
||||
* class AbstractConfig
|
||||
*/
|
||||
abstract class AbstractConfig implements Parameters
|
||||
{
|
||||
/**
|
||||
* @var Storage of data
|
||||
*/
|
||||
protected $storage;
|
||||
|
||||
public function __construct($storage)
|
||||
{
|
||||
$this->storage = $storage;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user