Created
April 14, 2020 10:29
-
-
Save fjugaldev/4fbbd05eb1399abb1bf62b8658309630 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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