|
|
|
@ -67,12 +67,18 @@ abstract class Model
|
|
|
|
|
*/
|
|
|
|
|
protected $config;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @var Models
|
|
|
|
|
*/
|
|
|
|
|
protected $models;
|
|
|
|
|
|
|
|
|
|
public function __construct()
|
|
|
|
|
{
|
|
|
|
|
$this->plugins = Factory::getInstance()->plugins;
|
|
|
|
|
$this->libraries = Factory::getInstance()->libraries;
|
|
|
|
|
$this->helpers = Factory::getInstance()->helpers;
|
|
|
|
|
$this->config = Factory::getInstance()->config;
|
|
|
|
|
$this->models = Factory::getInstance()->models;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|