src/orm.php
public static function getManager()
    {
        /** @var ORM $orm */
        $orm = Eresus_Plugin_Registry::getInstance()->load('orm');
        if (null === $orm->manager)
        {
            $orm->manager = new ORM_Manager();
        }
        return $orm->manager;
    }
public static function getManager()
    {
        /** @var ORM $orm */
        $orm = Eresus_Plugin_Registry::getInstance()->load('orm');
        if (null === $orm->manager)
        {
            $orm->manager = new ORM_Manager();
        }
        return $orm->manager;
    }
Возвращает менеджера ORM
@return ORM_Manager