I have a short PHP snippets on top of my blade file
<?php
use App\ImageWork, App\User, App\Skill, App\Contact, App\ActivityLog;
$images   = ImageWork::orderBy('created_at', 'desc')->get();
$users    = User::orderBy('created_at', 'desc')->get();
$logs     = ActivityLog::orderBy('created_at', 'desc')->get();
$skills   = Skill::orderBy('created_at', 'desc')->get();
$contacts = Contact::orderBy('created_at', 'desc')->get();
?>
I got this :
syntax error, unexpected 'use' (T_USE)
when I don't add that line, I got this
Class 'ImageWork' not found
What should I do now either way is wrong ?
Any hints / suggestions ?
 
    