Zaslat SMS: The luminosity function of Lyα emitters at 2.3 < < 4.6 from integral-field spectroscopy