bundle/Factory/EmailDataFactory.php
protected function resolveTemplate($contentTypeIdentifier)
    {
        if (array_key_exists($contentTypeIdentifier, $this->config[ConfigurationConstants::TEMPLATES][ConfigurationConstants::CONTENT_TYPES])) {
            return $this->config[ConfigurationConstants::TEMPLATES][ConfigurationConstants::CONTENT_TYPES][$contentTypeIdentifier];
        }

        return $this->config[ConfigurationConstants::TEMPLATES][ConfigurationConstants::SETTINGS_DEFAULT];
    }
protected function resolveTemplate($contentTypeIdentifier)
    {
        if (array_key_exists($contentTypeIdentifier, $this->config[ConfigurationConstants::TEMPLATES][ConfigurationConstants::CONTENT_TYPES])) {
            return $this->config[ConfigurationConstants::TEMPLATES][ConfigurationConstants::CONTENT_TYPES][$contentTypeIdentifier];
        }

        return $this->config[ConfigurationConstants::TEMPLATES][ConfigurationConstants::SETTINGS_DEFAULT];
    }
protected function resolveTemplate ( $ contentTypeIdentifier ) { if ( array_key_exists ( $ contentTypeIdentifier , $ this -> config [ ConfigurationConstants :: TEMPLATES ] [ ConfigurationConstants :: CONTENT_TYPES ] ) ) { return $ this -> config [ ConfigurationConstants :: TEMPLATES ] [ ConfigurationConstants :: CONTENT_TYPES ] [ $ contentTypeIdentifier ] ; } return $ this -> config [ ConfigurationConstants :: TEMPLATES ] [ ConfigurationConstants :: SETTINGS_DEFAULT ] ; }
Returns resolved template name.

@param string $contentTypeIdentifier

@return string
Returns resolved template name .