protected function getEncryptionModel() { if ($this->_magentoMajorVersion == self::MAGENTO_MAJOR_VERSION_2) { // @TODO Magento 2 support } else { return \Mage::helper('core')->getEncryptor(); } }