private function __construct() { $this->tablesManager = TablesManager::getInstance(); $this->metaWriter = MetaManager::getInstance(); $this->db = \Base::instance()->get('db'); $this->debugState = \Base::instance()->get('DEBUG'); }
/** * Конструктор, приватный, нужен для singletone */ private function __construct() { $this->db = \Base::instance()->get('db'); $this->metaWriter = MetaManager::getInstance(); }