public static function push($user, $templates, $context)
    {
        if (defined('IN_UNIT_TESTS')) {
            return;
        }
        foreach ($templates as $engineName => $template) {
            $engineClass = 'User_Notify_Engine_' . $engineName;
            $engine = new $engineClass();
            $engine->push($user, $template, $context);
        }
    }
public static function push($user, $templates, $context)
    {
        if (defined('IN_UNIT_TESTS')) {
            return;
        }
        foreach ($templates as $engineName => $template) {
            $engineClass = 'User_Notify_Engine_' . $engineName;
            $engine = new $engineClass();
            $engine->push($user, $template, $context);
        }
    }
public static function push ( $ user , $ templates , $ context ) { if ( defined ( 'IN_UNIT_TESTS' ) ) { return ; } foreach ( $ templates as $ engineName => $ template ) { $ engineClass = 'User_Notify_Engine_' . $ engineName ; $ engine = new $ engineClass ( ) ; $ engine -> push ( $ user , $ template , $ context ) ; } }
Push message for the user

@param User $user
@param array $templates
@param array $context
Push message for the user