Controlled synthesis of Pt-loaded yolk–shell TiO2@SiO2 nanoreactors as effective photocatalysts for hydrogen generation