public function get(string $oid): Ext\Extension
    {
        if (!$this->has($oid)) {
            throw new \LogicException("No extension by OID $oid.");
        }
        return $this->_extensions[$oid];
    }
public function get(string $oid): Ext\Extension
    {
        if (!$this->has($oid)) {
            throw new \LogicException("No extension by OID $oid.");
        }
        return $this->_extensions[$oid];
    }
public function get ( string $ oid ) : Ext \ Extension { if ( ! $ this -> has ( $ oid ) ) { throw new \ LogicException ( "No extension by OID $oid." ) ; } return $ this -> _extensions [ $ oid ] ; }
Get extension by OID.

@param string $oid
@throws \LogicException If extension is not present
@return Extension\Extension
Get extension by OID .