It can, and it has but I don't think it is completely accurate. I think it is an attempt to explain how the beam in front of the train and the beam behind the train could still be measured to be the same speed of light, because only length contraction and time dilation alone couldn't have opposite effects on both beams.
That is sort of a puzzle I haven't really seen explained anywhere. Just becaues the train is shorter and experiences less time doesn't mean that it will measure the beam in front to be a bit slower and the beam in back to be a bit faster so that it is measured to be the same speed regardless of its velocity.
Length Contraction and Time dilation are not on beams.It is on the train. and train is shorter and time dilates does not make light fast or slower. it makes Light speed constant. As a result,Galilean Invariant remains Invariant.