/** * Get model class with injection (as new instance) * * @param string $path Path * @param array $params Params * * @return mixed */ public function newInstance($path, $params = []) { $className = Mage::getConfig()->getModelClassName($path); return $this->_di->newInstance($className, $params); }