$myClass = Phpfox::getLibClass('myLibClass'); // $myClass now contains an instance of myLibClass
$pdo = Phpfox::getLibClass('database')->getPdo(); // $pdo now contains an instance of PHP's PDO objectExample 2 demonstrates using getLibClass to retrieve a built-in library class called 'database' which provides access to a database connection. The getPdo() method returns an instance of PHP's PDO object which can be used to query the database. Package Library: Phpfox Database Library.