A former Wendy's employee in Danville, Illinois, has received 12 years in prison after pleading guilty to attempted first-degree murder in a stabbing attack on a co-worker.