N98\Magento\Command\Config\AbstractConfigCommand::getEncryptionModel PHP Method

getEncryptionModel() protected method

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