/** * {inheritdoc} */ public function create(array $arguments = []) { if (WorkflowType::CLIENT_SIDE_COMPILATION === $this->scopeConfig->getValue(WorkflowType::CONFIG_NAME_PATH)) { return $this->objectManager->create(self::ENTITY_NAME, $arguments); } return $this->chainFactory->create($arguments); }
/** * {inheritdoc} */ public function create(array $arguments = []) { if (WorkflowType::CLIENT_SIDE_COMPILATION === $this->scopeConfig->getValue(WorkflowType::CONFIG_NAME_PATH)) { return $this->_objectManager->create('Magento\\Developer\\Model\\View\\Asset\\PreProcessor\\DeveloperChain', $arguments); } return $this->chainFactory->create($arguments); }