public static function close()
    {
        //get the last opened tag
        $tag = self::$opened[count(self::$opened) - 1];

        //remove the last opened tag
        array_pop(self::$opened);

        return '</'.$tag.'>';
    }