public static function &getRegistry($load = false)
    {
        $orm = static::getInstance();

        if ($load) {
            $orm->loadRegistry();
        }

        return $orm->getRegistryCache();
    }
public static function &getRegistry($load = false)
    {
        $orm = static::getInstance();

        if ($load) {
            $orm->loadRegistry();
        }

        return $orm->getRegistryCache();
    }
public static function & getRegistry ( $ load = false ) { $ orm = static :: getInstance ( ) ; if ( $ load ) { $ orm -> loadRegistry ( ) ; } return $ orm -> getRegistryCache ( ) ; }
Returns the application registry. This method populates the registry the first time its invoked and caches
it since
its a very expensive method. subsequent calls get the cached registry.

@return Registry

@since  1.1.0

@author Eddilbert Macharia (http://eddmash.com) <edd.cowan@gmail.com>
Returns the application registry . This method populates the registry the first time its invoked and caches it since its a very expensive method . subsequent calls get the cached registry .