src/PEAR/Registry.php
function PEAR_Registry($pear_install_dir = PEAR_INSTALL_DIR, $pear_channel = false,
                           $pecl_channel = false)
    {
        parent::PEAR();
        $this->setInstallDir($pear_install_dir);
        $this->_pearChannel = $pear_channel;
        $this->_peclChannel = $pecl_channel;
        $this->_config      = false;
    }
function PEAR_Registry($pear_install_dir = PEAR_INSTALL_DIR, $pear_channel = false,
                           $pecl_channel = false)
    {
        parent::PEAR();
        $this->setInstallDir($pear_install_dir);
        $this->_pearChannel = $pear_channel;
        $this->_peclChannel = $pecl_channel;
        $this->_config      = false;
    }
PEAR_Registry constructor.

@param string (optional) PEAR install directory (for .php files)
@param PEAR_ChannelFile PEAR_ChannelFile object representing the PEAR channel, if
default values are not desired.  Only used the very first time a PEAR
repository is initialized
@param PEAR_ChannelFile PEAR_ChannelFile object representing the PECL channel, if
default values are not desired.  Only used the very first time a PEAR
repository is initialized

@access public