Removed PHP code from view xkcd.blade template and created Xkcd Class.