Preheat oven to 180°C (356°F).
Prepare and cook your pasta according to packet instructions. Once the pasta is cooked, drain and set aside.
Meanwhile, heat butter in a medium sized saucepan. When the butter is hot, add the brown onion and cook until the onions are lightly browned and soft. Then saute the minced garlic for about 1 minute.
Add the drained canned tuna, breaking up any chunks. Season lightly with salt and pepper.
Add the peas, and broccoli florets. Cook for about 1 to 2 minutes or until the broccoli starts to soften.
Mix through the pesto, ricotta, stock, cream, green onions, and roughly chopped boiled eggs. Turn off heat.
Mix through the cooked and drained pasta and season with salt and pepper to taste.
Transfer mixture into a casserole dish, making sure the top sits flat.
Sprinkle grated cheese on top. Then place in preheated oven and bake for about 10 to 15 minutes of until the top is golden brown. Once baked, removed from the oven and allow to cool. Serve.