A Clean, Well-Lighted Place

там където е чисто и светло

Friday, July 20, 2007

How to free database resources in symfony project?

I've found these 3 ways to do that :

Propel::close();


$databaseManager = new sfDatabaseManager();
$databaseManager->initialize();
$databaseManager->shutdown();


$connection = Propel::getConnection();
$connection->close();


Do you know some other way?

Labels: , ,