src/Modules/PluginModule.php
/**
     * Inovkes the plug-in functionality.
     *
     * @return void
     */
Inovkes the plug-in functionality.
@return void
Inovkes the plug - in functionality . @return void
public function process()
    {
        try {
            $this->lock();
            foreach ($this->getConfigurationManager()->getPlugins() as $pluginConfiguration) {
                $this->getPluginExecutor()->execute($pluginConfiguration);
            }
        } catch (\Exception $e) {
             throw $e;
        } finally {
            $this->unlock();
        }
    }
public function process ( ) { try { $ this -> lock ( ) ; foreach ( $ this -> getConfigurationManager ( ) -> getPlugins ( ) as $ pluginConfiguration ) { $ this -> getPluginExecutor ( ) -> execute ( $ pluginConfiguration ) ; } } catch ( \ Exception $ e ) { throw $ e ; } finally { $ this -> unlock ( ) ; } }
Inovkes the plug-in functionality.
Inovkes the plug - in functionality .
// immediately add the PID to lock this import process // process the plugins defined in the configuration /** @var \TechDivision\Import\Configuration\PluginConfigurationInterface $pluginConfiguration */ // re-throw the exception // finally, if a PID has been set, remove it // from the PID file to unlock the importer