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
File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed
Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 1313
1414use Doctrine \ORM \EntityManager ;
1515use FOS \RestBundle \Controller \ControllerTrait ;
16+ use FOS \RestBundle \Routing \ClassResourceInterface ;
1617use FOS \RestBundle \View \ViewHandler ;
1718use Sulu \Bundle \FormBundle \Entity \Dynamic ;
1819use Sulu \Bundle \FormBundle \Entity \Form ;
2930/**
3031 * Controller to create dynamic form entries list.
3132 */
32- class DynamicController
33+ class DynamicController implements ClassResourceInterface
3334{
3435 use ControllerTrait;
3536
Original file line number Diff line number Diff line change 1111
1212namespace Sulu \Bundle \FormBundle \Controller ;
1313
14+ use FOS \RestBundle \Routing \ClassResourceInterface ;
1415use FOS \RestBundle \View \ViewHandlerInterface ;
1516use Sulu \Bundle \FormBundle \Admin \FormAdmin ;
1617use Sulu \Bundle \FormBundle \Entity \Form ;
3031use Symfony \Component \HttpKernel \Exception \NotFoundHttpException ;
3132use 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
Original file line number Diff line number Diff line change 1111
1212namespace Sulu \Bundle \FormBundle \Controller ;
1313
14+ use FOS \RestBundle \Routing \ClassResourceInterface ;
1415use FOS \RestBundle \View \ViewHandlerInterface ;
1516use Sulu \Bundle \FormBundle \Provider \ListProviderRegistry ;
1617use Sulu \Component \Rest \AbstractRestController ;
2223use Symfony \Component \HttpKernel \Exception \NotFoundHttpException ;
2324use 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
You can’t perform that action at this time.
0 commit comments