summaryrefslogtreecommitdiff
path: root/src/Module/Module.php
blob: 48ba5f938a6284404a8790a19a5089aadb0de43b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?php

namespace PHPIAC\Module;

abstract class Module implements ModuleInterface
{
    /**
     * Module constructor.
     *
     * @param array $config
     */
    public function __construct(array $config)
    {
        foreach ($config as $key => $value) {
            $this->$key = $value;
        }
    }
}