Init(Core): add project to git and add seeders and factory

This commit is contained in:
2026-04-28 21:29:43 +03:30
commit 15bd23cdd2
101 changed files with 12093 additions and 0 deletions

View File

@@ -0,0 +1,65 @@
<?php
namespace App\Http\Controllers;
use App\Models\Page;
use Illuminate\Http\Request;
class PageController extends Controller
{
/**
* Display a listing of the resource.
*/
public function index($token)
{
return(Page::where(['user_token' => $token])->with('Contents')->get());
}
/**
* Show the form for creating a new resource.
*/
public function create(Request $request)
{
}
/**
* Store a newly created resource in storage.
*/
public function store(Request $request)
{
//
}
/**
* Display the specified resource.
*/
public function show(Page $page)
{
//
}
/**
* Show the form for editing the specified resource.
*/
public function edit(Page $page)
{
}
/**
* Update the specified resource in storage.
*/
public function update(Request $request, Page $page)
{
//
}
/**
* Remove the specified resource from storage.
*/
public function destroy(Page $page)
{
//
}
}