Issues

ZF-12331: Allow 'options' in 'plugins' Frontcontroller

Description

Resource Frontcontroller should allow pass 'options' in __construct() of plugins frontcontroller.


$stackIndex = null;
                $_options = array();
                if (is_array($pluginClass)) {
                    $pluginClass = array_change_key_case($pluginClass, CASE_LOWER);

                    if (isset($pluginClass['options'])) {
                        $_options = $pluginClass['options'];
                    }

                    if (isset($pluginClass['class'])) {
                        if(isset($pluginClass['stackindex'])) {
                            $stackIndex = $pluginClass['stackindex'];
                        }

                        $pluginClass = $pluginClass['class'];
                    }
                }

Comments

No comments to display