Remove application config from abstract

This commit is contained in:
Dennis Eichhorn 2017-09-22 19:12:50 +02:00
parent 014c1ec311
commit a1a7420654

View File

@ -35,14 +35,6 @@ class ApplicationAbstract
*/ */
protected $appName = ''; protected $appName = '';
/**
* Config.
*
* @var array
* @since 1.0.0
*/
protected $config = [];
/** /**
* Database object. * Database object.
* *
@ -153,7 +145,7 @@ class ApplicationAbstract
*/ */
public function __set($name, $value) public function __set($name, $value)
{ {
if(!empty($this->$name) || $name === 'config') { if(!empty($this->$name)) {
return; return;
} }
@ -173,10 +165,6 @@ class ApplicationAbstract
*/ */
public function __get($name) public function __get($name)
{ {
if($name === 'config') {
return [];
}
return $this->$name; return $this->$name;
} }
} }