public function loadConfigs()
    {
        $configs = [];
        foreach ($this->getRepository()->findAll() as $config) {
            $configs[$config->getName()] = $config;
        }

        $this->configs = $configs;

        return $configs;
    }
public function loadConfigs()
    {
        $configs = [];
        foreach ($this->getRepository()->findAll() as $config) {
            $configs[$config->getName()] = $config;
        }

        $this->configs = $configs;

        return $configs;
    }
public function loadConfigs ( ) { $ configs = [ ] ; foreach ( $ this -> getRepository ( ) -> findAll ( ) as $ config ) { $ configs [ $ config -> getName ( ) ] = $ config ; } $ this -> configs = $ configs ; return $ configs ; }
Retrieve the configs and converts them for later use.
Retrieve the configs and converts them for later use .