| @@ -1,0 +1,16 @@ | ||
| 1 | +<?php | |
| 2 | + | |
| 3 | +namespace AcyMailing\Core; | |
| 4 | + | |
| 5 | +use AcyMailing\Classes\ConfigurationClass; | |
| 6 | + | |
| 7 | +class AcymObject | |
| 8 | +{ | |
| 9 | + // public for the sending methods | |
| 10 | + public ConfigurationClass $config; | |
| 11 | + | |
| 12 | + public function __construct() | |
| 13 | + { | |
| 14 | + $this->config = ConfigurationClass::class === get_class($this) ? $this : acym_config(); | |
| 15 | + } | |
| 16 | +} | |