1
0
mirror of synced 2024-12-15 15:46:02 +03:00
doctrine2/manual/docs/Configuration - Introduction.php

7 lines
139 B
PHP
Raw Normal View History

2007-04-14 01:49:11 +04:00
<code type="php">
$manager = Doctrine_Manager::getInstance();
$manager->setAttribute(Doctrine::ATTR_LISTENER, new MyListener());
</code>