private function getOptimizersFunctions(ContainerConfigurationInterface $containerConfiguration, $optimizers)
    {
        $functions = [];

        foreach ($optimizers as $optimizer) {
            $function = $this->getFunction($containerConfiguration, $optimizer);

            if ($function !== null) {
                $functions[$optimizer->getId()] = $function;
            }
        }

        return $functions;
    }
private function getOptimizersFunctions(ContainerConfigurationInterface $containerConfiguration, $optimizers)
    {
        $functions = [];

        foreach ($optimizers as $optimizer) {
            $function = $this->getFunction($containerConfiguration, $optimizer);

            if ($function !== null) {
                $functions[$optimizer->getId()] = $function;
            }
        }

        return $functions;
    }
private function getOptimizersFunctions ( ContainerConfigurationInterface $ containerConfiguration , $ optimizers ) { $ functions = [ ] ; foreach ( $ optimizers as $ optimizer ) { $ function = $ this -> getFunction ( $ containerConfiguration , $ optimizer ) ; if ( $ function !== null ) { $ functions [ $ optimizer -> getId ( ) ] = $ function ; } } return $ functions ; }
Retrieve optimizers functions for a given container

@param ContainerConfigurationInterface $containerConfiguration Container Configuration
@param Collection|OptimizerInterface[] $optimizers             Optimizers list

@return array
Retrieve optimizers functions for a given container