private function initBundleExposedActions()
    {
        if (true === $this->isEnabled()) {
            $container = $this->getApplication()->getContainer();
            foreach ((array) $this->getProperty('exposed_actions') as $controllerId => $actions) {
                if (false === $container->has($controllerId)) {
                    throw new \InvalidArgumentException(
                        "Exposed controller with id `$controllerId` not found for ".$this->getId()
                    );
                }

                $controller = $container->get($controllerId);
                $this->formatAndInjectExposedAction($controller, $actions);
            }
        }
    }
private function initBundleExposedActions()
    {
        if (true === $this->isEnabled()) {
            $container = $this->getApplication()->getContainer();
            foreach ((array) $this->getProperty('exposed_actions') as $controllerId => $actions) {
                if (false === $container->has($controllerId)) {
                    throw new \InvalidArgumentException(
                        "Exposed controller with id `$controllerId` not found for ".$this->getId()
                    );
                }

                $controller = $container->get($controllerId);
                $this->formatAndInjectExposedAction($controller, $actions);
            }
        }
    }
private function initBundleExposedActions ( ) { if ( true === $ this -> isEnabled ( ) ) { $ container = $ this -> getApplication ( ) -> getContainer ( ) ; foreach ( ( array ) $ this -> getProperty ( 'exposed_actions' ) as $ controllerId => $ actions ) { if ( false === $ container -> has ( $ controllerId ) ) { throw new \ InvalidArgumentException ( "Exposed controller with id `$controllerId` not found for " . $ this -> getId ( ) ) ; } $ controller = $ container -> get ( $ controllerId ) ; $ this -> formatAndInjectExposedAction ( $ controller , $ actions ) ; } } }
Initialize bundle exposed actions by building exposed_actions array and exposed_actions_callback array.
Initialize bundle exposed actions by building exposed_actions array and exposed_actions_callback array .