* @copyright Copyright (c) 2013 - 2019, TechFuze. (http://techfuze.net) */ abstract class Model { /** * @var Plugins */ protected $plugins; /** * @var Libraries */ protected $libraries; /** * @var Helpers */ protected $helpers; /** * @var Config */ 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; } }