Skip to content

Instantly share code, notes, and snippets.

@fjugaldev
Created April 14, 2020 10:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fjugaldev/4fbbd05eb1399abb1bf62b8658309630 to your computer and use it in GitHub Desktop.
Save fjugaldev/4fbbd05eb1399abb1bf62b8658309630 to your computer and use it in GitHub Desktop.
<?php
/**
* ApiController.php
*
* API Controller
*
* @category Controller
* @package MyKanban
* @author Francisco Ugalde
* @copyright 2018 www.franciscougalde.com
* @license http://www.php.net/license/3_0.txt PHP License 3.0
*/
namespace App\Controller;
use App\Entity\User;
use App\Entity\Task;
use App\Entity\User;
use FOS\RestBundle\Controller\Annotations as Rest;
use FOS\RestBundle\Controller\FOSRestController;
use Symfony\Component\Config\Definition\Exception\Exception;
use Symfony\Component\HttpFoundation\JsonResponse;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\Routing\Annotation\Route;
use Symfony\Component\Security\Core\Encoder\UserPasswordEncoderInterface;
use Nelmio\ApiDocBundle\Annotation\Model;
use Swagger\Annotations as SWG;
/**
* Class ApiController
*
* @Route("/api")
*/
class ApiController extends Controller
{
/**
* @Route("/login_check", name="login_check")
*/
public function loginCheckAction() {}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment