protected function getDefaultDirectory($entityTypeCode)
    {

        // query whether or not, a default configuration file for the passed entity type is available
        if (isset($this->defaultDirectories[$entityTypeCode])) {
            return $this->defaultDirectories[$entityTypeCode];
        }

        // throw an exception, if the passed entity type is not supported
        throw new \Exception(
            sprintf(
                'Entity Type Code \'%s\' not supported (MUST be one of catalog_product or catalog_category)',
                $entityTypeCode
            )
        );
    }
protected function getDefaultDirectory($entityTypeCode)
    {

        // query whether or not, a default configuration file for the passed entity type is available
        if (isset($this->defaultDirectories[$entityTypeCode])) {
            return $this->defaultDirectories[$entityTypeCode];
        }

        // throw an exception, if the passed entity type is not supported
        throw new \Exception(
            sprintf(
                'Entity Type Code \'%s\' not supported (MUST be one of catalog_product or catalog_category)',
                $entityTypeCode
            )
        );
    }
protected function getDefaultDirectory ( $ entityTypeCode ) { // query whether or not, a default configuration file for the passed entity type is available if ( isset ( $ this -> defaultDirectories [ $ entityTypeCode ] ) ) { return $ this -> defaultDirectories [ $ entityTypeCode ] ; } // throw an exception, if the passed entity type is not supported throw new \ Exception ( sprintf ( 'Entity Type Code \'%s\' not supported (MUST be one of catalog_product or catalog_category)' , $ entityTypeCode ) ) ; }
Return's the entity types specific default import directory.

@param string $entityTypeCode The entity type code to return the default import directory for

@return string The default default import directory
@throws \Exception Is thrown, if no default import directory for the passed entity type code is available
Return s the entity types specific default import directory .