src/Contao/View/Contao2BackendView/ActionHandler/SelectHandler.php
private function handleCutAllAction(EnvironmentInterface $environment, Action $action)
    {
        $inputProvider = $environment->getInputProvider();
        foreach ($this->getModelIds($environment, $action, $this->getSubmitAction($environment)) as $modelId) {
            $inputProvider->setParameter('source', $modelId->getSerialized());

            $this->callAction($environment, 'cut');

            $inputProvider->unsetParameter('source');
        }

        ViewHelpers::redirectHome($environment);

        return null;
    }
private function handleCutAllAction(EnvironmentInterface $environment, Action $action)
    {
        $inputProvider = $environment->getInputProvider();
        foreach ($this->getModelIds($environment, $action, $this->getSubmitAction($environment)) as $modelId) {
            $inputProvider->setParameter('source', $modelId->getSerialized());

            $this->callAction($environment, 'cut');

            $inputProvider->unsetParameter('source');
        }

        ViewHelpers::redirectHome($environment);

        return null;
    }
private function handleCutAllAction ( EnvironmentInterface $ environment , Action $ action ) { $ inputProvider = $ environment -> getInputProvider ( ) ; foreach ( $ this -> getModelIds ( $ environment , $ action , $ this -> getSubmitAction ( $ environment ) ) as $ modelId ) { $ inputProvider -> setParameter ( 'source' , $ modelId -> getSerialized ( ) ) ; $ this -> callAction ( $ environment , 'cut' ) ; $ inputProvider -> unsetParameter ( 'source' ) ; } ViewHelpers :: redirectHome ( $ environment ) ; return null ; }
Handle the cut all action.

@param EnvironmentInterface $environment The environment.
@param Action               $action      The action.

@return null

@SuppressWarnings(PHPMD.UnusedPrivateMethod)
Handle the cut all action .