public function getResolved($id)
    {
        if (isset($this->extensions[$id])) {
            return $this->extensions[$id];
        } elseif (isset($this->composerNames[$id])) {
            $id = (string) $this->composerNames[$id];

            return $this->extensions[$id];
        }

        return null;
    }
public function getResolved($id)
    {
        if (isset($this->extensions[$id])) {
            return $this->extensions[$id];
        } elseif (isset($this->composerNames[$id])) {
            $id = (string) $this->composerNames[$id];

            return $this->extensions[$id];
        }

        return null;
    }
public function getResolved ( $ id ) { if ( isset ( $ this -> extensions [ $ id ] ) ) { return $ this -> extensions [ $ id ] ; } elseif ( isset ( $ this -> composerNames [ $ id ] ) ) { $ id = ( string ) $ this -> composerNames [ $ id ] ; return $ this -> extensions [ $ id ] ; } return null ; }
Get the resolved form of an installed extension class.

@param string|null $id The extension ID or composer name

@return ResolvedExtension|null
Get the resolved form of an installed extension class .