PEAR_DependencyDB::singleton()

PEAR_DependencyDB::singleton()  -- Get a raw dependency database. Calls setConfig() and assertDepsDB()

概要

require_once '/DependencyDB.php';

PEAR_DependencyDB |PEAR_Error & PEAR_DependencyDB::singleton (PEAR_Config &$config, string|false [$depdb = FALSE])

説明

Return a single dependency database based on the location of the database on disk. In other words, 1 dependency database is created for each registry location.

パラメータ

PEAR_Config &$config

PEAR_Config object

string|$false; $depdb

full path to the dependency database, or FALSE to use default

例外・エラー

throws no exceptions thrown

注意

この関数は、スタティックにコール されます。