Commit 84bf0fed authored by hlarget's avatar hlarget 👹
Browse files

Merge branch 'release/2.0.2'

parents d24dccef 6cb77474
<?php
namespace Aboutgoods\KonnectBundle\Controller;
use GuzzleHttp\Client;
use GuzzleHttp\ClientInterface;
use Symfony\Component\HttpFoundation\JsonResponse;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
use Symfony\Component\HttpFoundation\RedirectResponse;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\HttpFoundation\Session\SessionInterface;
use Symfony\Component\Routing\Annotation\Route;
class MainController extends Controller
{
/**
* @return mixed
* @Route("/whoAmI")
*/
public function whoAmI()
{
return $this->json($this->getUser());
}
}
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment