protected function getExportStrategyInstance($strategy)
    {
        /** @var ModelExportStrategyData $strategyData */
        $strategyData = array_get($this->getModelInformation()->export->strategies, $strategy);

        $instance = $this->getExportStrategyFactory()->make($strategyData->strategy);

        if ($strategyData) {
            $instance->setStrategyData($strategyData);
        }

        return $instance;
    }
protected function getExportStrategyInstance($strategy)
    {
        /** @var ModelExportStrategyData $strategyData */
        $strategyData = array_get($this->getModelInformation()->export->strategies, $strategy);

        $instance = $this->getExportStrategyFactory()->make($strategyData->strategy);

        if ($strategyData) {
            $instance->setStrategyData($strategyData);
        }

        return $instance;
    }
protected function getExportStrategyInstance ( $ strategy ) { /** @var ModelExportStrategyData $strategyData */ $ strategyData = array_get ( $ this -> getModelInformation ( ) -> export -> strategies , $ strategy ) ; $ instance = $ this -> getExportStrategyFactory ( ) -> make ( $ strategyData -> strategy ) ; if ( $ strategyData ) { $ instance -> setStrategyData ( $ strategyData ) ; } return $ instance ; }
Returns prepared exporter strategy instance for a given strategy string.

@param string $strategy
@return ModelExporterInterface
Returns prepared exporter strategy instance for a given strategy string .