D
Size: a a a
D
D
D
V
return DB::table('users')->first()
D
D
V
D
V
D
V
V
V
С
С
С
D
С
ДБ
->setFetchMode(PDO::FETCH_ASSOC);
С
public function feed(NewsRequest $request, $slug, $year = false, $month = false)
{
$splitDate = config('tm.common.archive.split_date');
$splitDate = Carbon::createFromDate($splitDate['year'], $splitDate['month']);
if ($year <= $splitDate->year && $month <= $splitDate->month){
return redirect(route('about.news', [$year, $month]));
}
}