For fun I am trying to figure out different ways of doing things in PHP & Laravel (the version of Laravel I am using is 5.8.37) and I am having trouble when I use the \'only