Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Delivery
Public
Open source
konnect-bundle
Commits
84bf0fed
Commit
84bf0fed
authored
Oct 03, 2019
by
hlarget
👹
Browse files
Merge branch 'release/2.0.2'
parents
d24dccef
6cb77474
Changes
1
Hide whitespace changes
Inline
Side-by-side
Controller/MainController.php
0 → 100644
View file @
84bf0fed
<?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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment