src/ConfigCollection.php
public function getConfig(string $id): Config
    {
        // TODO: Use null coalescing assignment operator.
        $this->configs[$id] = $this->configs[$id] ?? $this->registerConfig($id);

        return $this->configs[$id];
    }
public function getConfig(string $id): Config
    {
        // TODO: Use null coalescing assignment operator.
        $this->configs[$id] = $this->configs[$id] ?? $this->registerConfig($id);

        return $this->configs[$id];
    }
public function getConfig ( string $ id ) : Config { // TODO: Use null coalescing assignment operator. $ this -> configs [ $ id ] = $ this -> configs [ $ id ] ?? $ this -> registerConfig ( $ id ) ; return $ this -> configs [ $ id ] ; }
Returns a Config instance for specific checker.
Instantiate if necessary.

@param string $id Id of the checker.

@return Config
Returns a Config instance for specific checker . Instantiate if necessary .