Uncommented functions for better overview

This commit is contained in:
Kevin Frantz 2019-02-20 19:11:21 +01:00
parent cc5cf1dd47
commit 465d6d6d01
5 changed files with 54 additions and 54 deletions

View File

@ -15,14 +15,14 @@ use Symfony\Component\HttpFoundation\Request;
*/
abstract class AbstractAPIController extends AbstractController
{
/**
/*
* @param Request $request HTTP Method POST with the object attributes as parameters
*
* @return Response
*/
// abstract public function create(Request $request, SecureCRUDFactoryService $crudFactory): Response;
/**
/*
* @param Request $request HTTP Method GET
* @param int|string $identifier The slug or id of the object
*
@ -30,19 +30,19 @@ abstract class AbstractAPIController extends AbstractController
*/
// abstract public function read(Request $request, $identifier): Response;
/**
/*
* @param Request $request HTTP Method PUT
* @param int|string $identifier The slug or id of the object
*
* @return Response
*/
abstract public function update(Request $request, $identifier): Response;
// abstract public function update(Request $request, $identifier): Response;
/**
/*
* @param Request $request HTTP Method DELETE with the object attributes as parameters
* @param int|string $identifier The slug or id of the object
*
* @return Response
*/
abstract public function delete(Request $request, $identifier): Response;
// abstract public function delete(Request $request, $identifier): Response;
}

View File

@ -13,23 +13,23 @@ use Symfony\Component\HttpFoundation\Response;
*/
final class HeredityController extends AbstractAPIController
{
public function read(Request $request, $identifier): Response
{
}
// public function read(Request $request, $identifier): Response
// {
// }
// public function create(Request $request, SecureCRUDFactoryService $crudFactory): Response
// {
// }
public function update(Request $request, $identifier): Response
{
}
// public function update(Request $request, $identifier): Response
// {
// }
public function list(Request $request): Response
{
}
// public function list(Request $request): Response
// {
// }
public function delete(Request $request, $identifier): Response
{
}
// public function delete(Request $request, $identifier): Response
// {
// }
}

View File

@ -13,23 +13,23 @@ use Symfony\Component\HttpFoundation\Response;
*/
final class LawController extends AbstractAPIController
{
public function read(Request $request, $identifier): Response
{
}
// public function read(Request $request, $identifier): Response
// {
// }
// public function create(Request $request, SecureCRUDFactoryService $crudFactory): Response
// {
// }
public function update(Request $request, $identifier): Response
{
}
// public function update(Request $request, $identifier): Response
// {
// }
public function list(Request $request): Response
{
}
// public function list(Request $request): Response
// {
// }
public function delete(Request $request, $identifier): Response
{
}
// public function delete(Request $request, $identifier): Response
// {
// }
}

View File

@ -13,23 +13,23 @@ use Symfony\Component\HttpFoundation\Response;
*/
final class MemberController extends AbstractAPIController
{
public function read(Request $request, $identifier): Response
{
}
// public function read(Request $request, $identifier): Response
// {
// }
// public function create(Request $request, SecureCRUDFactoryService $crudFactory): Response
// {
// }
public function update(Request $request, $identifier): Response
{
}
// public function update(Request $request, $identifier): Response
// {
// }
public function list(Request $request): Response
{
}
// public function list(Request $request): Response
// {
// }
public function delete(Request $request, $identifier): Response
{
}
// public function delete(Request $request, $identifier): Response
// {
// }
}

View File

@ -13,23 +13,23 @@ use Symfony\Component\HttpFoundation\Response;
*/
final class RightController extends AbstractAPIController
{
public function read(Request $request, $identifier): Response
{
}
// public function read(Request $request, $identifier): Response
// {
// }
// public function create(Request $request, SecureCRUDFactoryService $crudFactory): Response
// {
// }
public function update(Request $request, $identifier): Response
{
}
// public function update(Request $request, $identifier): Response
// {
// }
public function list(Request $request): Response
{
}
// public function list(Request $request): Response
// {
// }
public function delete(Request $request, $identifier): Response
{
}
// public function delete(Request $request, $identifier): Response
// {
// }
}