WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit a55e4df

Browse files
committed
Reverting changes in classes
1 parent 28d4002 commit a55e4df

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

Controller/DynamicController.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

1414
use Doctrine\ORM\EntityManager;
1515
use FOS\RestBundle\Controller\ControllerTrait;
16+
use FOS\RestBundle\Routing\ClassResourceInterface;
1617
use FOS\RestBundle\View\ViewHandler;
1718
use Sulu\Bundle\FormBundle\Entity\Dynamic;
1819
use Sulu\Bundle\FormBundle\Entity\Form;
@@ -29,7 +30,7 @@
2930
/**
3031
* Controller to create dynamic form entries list.
3132
*/
32-
class DynamicController
33+
class DynamicController implements ClassResourceInterface
3334
{
3435
use ControllerTrait;
3536

Controller/FormController.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111

1212
namespace Sulu\Bundle\FormBundle\Controller;
1313

14+
use FOS\RestBundle\Routing\ClassResourceInterface;
1415
use FOS\RestBundle\View\ViewHandlerInterface;
1516
use Sulu\Bundle\FormBundle\Admin\FormAdmin;
1617
use Sulu\Bundle\FormBundle\Entity\Form;
@@ -30,7 +31,7 @@
3031
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
3132
use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface;
3233

33-
class FormController extends AbstractRestController implements SecuredControllerInterface
34+
class FormController extends AbstractRestController implements ClassResourceInterface, SecuredControllerInterface
3435
{
3536
/**
3637
* @var FormManager

Controller/ListController.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111

1212
namespace Sulu\Bundle\FormBundle\Controller;
1313

14+
use FOS\RestBundle\Routing\ClassResourceInterface;
1415
use FOS\RestBundle\View\ViewHandlerInterface;
1516
use Sulu\Bundle\FormBundle\Provider\ListProviderRegistry;
1617
use Sulu\Component\Rest\AbstractRestController;
@@ -22,7 +23,7 @@
2223
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
2324
use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface;
2425

25-
class ListController extends AbstractRestController
26+
class ListController extends AbstractRestController implements ClassResourceInterface
2627
{
2728
/**
2829
* @var RestHelperInterface

0 commit comments

Comments
 (0)