. */ include_once __DIR__.'/../../core.php'; use Modules\Emails\Mail; if (!empty($id_record)) { $mail = Mail::find($id_record); $record = $mail->toArray(); }