BackofficeBundle/Controller/KeywordController.php
Possibly zero references to use statement for classlike/namespace Config
(\Sensio\Bundle\FrameworkExtraBundle\Configuration)
Open
Open
use Sensio\Bundle\FrameworkExtraBundle\Configuration as Config;
- Create a ticketCreate a ticket
- Exclude checks
Argument 2 (data)
is object
but \OpenOrchestra\BackofficeBundle\Controller\KeywordController::createForm()
takes null
defined at /code/BackofficeBundle/Controller/AbstractAdminController.php:94
Open
Open
$form = $this->createForm('oo_keyword', $keyword, array(
- Create a ticketCreate a ticket
- Exclude checks
Call to method handleRequest
from undeclared class \Symfony\Component\Form\Form
Open
Open
$form->handleRequest($request);
- Create a ticketCreate a ticket
- Exclude checks
Call to undeclared method \OpenOrchestra\BackofficeBundle\Controller\KeywordController::get
Open
Open
$this->handleForm($form, $this->get('translator')->trans('open_orchestra_backoffice.form.keyword.success'));
- Create a ticketCreate a ticket
- Exclude checks
Return type of formAction()
is undeclared type \Symfony\Component\HttpFoundation\Response
Open
Open
public function formAction(Request $request, $keywordId)
- Create a ticketCreate a ticket
- Exclude checks
Return type of newAction()
is undeclared type \Symfony\Component\HttpFoundation\Response
Open
Open
public function newAction(Request $request)
- Create a ticketCreate a ticket
- Exclude checks
Reference to undeclared property \OpenOrchestra\BackofficeBundle\Controller\KeywordController->container
Open
Open
$keywordClass = $this->container->getParameter('open_orchestra_model.document.keyword.class');
- Create a ticketCreate a ticket
- Exclude checks
Argument 1 (form)
is \Symfony\Component\Form\Form
but \OpenOrchestra\BackofficeBundle\Controller\KeywordController::renderAdminForm()
takes \Symfony\Component\Form\FormInterface
defined at /code/BackofficeBundle/Controller/AbstractAdminController.php:58
Open
Open
return $this->renderAdminForm($form);
- Create a ticketCreate a ticket
- Exclude checks
Parameter $request
has undeclared type \Symfony\Component\HttpFoundation\Request
Open
Open
public function newAction(Request $request)
- Create a ticketCreate a ticket
- Exclude checks
Call to undeclared method \OpenOrchestra\BackofficeBundle\Controller\KeywordController::get
Open
Open
$keyword = $this->get('open_orchestra_model.repository.keyword')->find($keywordId);
- Create a ticketCreate a ticket
- Exclude checks
Parameter $request
has undeclared type \Symfony\Component\HttpFoundation\Request
Open
Open
public function formAction(Request $request, $keywordId)
- Create a ticketCreate a ticket
- Exclude checks
Call to undeclared method \OpenOrchestra\BackofficeBundle\Controller\KeywordController::generateUrl
Open
Open
'action' => $this->generateUrl('open_orchestra_backoffice_keyword_form', array('keywordId' => $keywordId))
- Create a ticketCreate a ticket
- Exclude checks
Call to undeclared method \OpenOrchestra\BackofficeBundle\Controller\KeywordController::denyAccessUnlessGranted
Open
Open
$this->denyAccessUnlessGranted(ContributionActionInterface::CREATE, KeywordInterface::ENTITY_TYPE);
- Create a ticketCreate a ticket
- Exclude checks
Call to method handleRequest
from undeclared class \Symfony\Component\Form\Form
Open
Open
$form->handleRequest($request);
- Create a ticketCreate a ticket
- Exclude checks
Argument 1 (form)
is \Symfony\Component\Form\Form
but \OpenOrchestra\BackofficeBundle\Controller\KeywordController::handleForm()
takes \Symfony\Component\Form\FormInterface
defined at /code/BackofficeBundle/Controller/AbstractAdminController.php:29
Open
Open
$this->handleForm($form, $this->get('translator')->trans('open_orchestra_backoffice.form.keyword.success'));
- Create a ticketCreate a ticket
- Exclude checks
Reference to constant ENTITY_TYPE
from undeclared class \OpenOrchestra\ModelInterface\Model\KeywordInterface
Open
Open
$this->denyAccessUnlessGranted(ContributionActionInterface::CREATE, KeywordInterface::ENTITY_TYPE);
- Create a ticketCreate a ticket
- Exclude checks
Call to undeclared method \OpenOrchestra\BackofficeBundle\Controller\KeywordController::denyAccessUnlessGranted
Open
Open
$this->denyAccessUnlessGranted(ContributionActionInterface::EDIT, $keyword);
- Create a ticketCreate a ticket
- Exclude checks
Argument 1 (form)
is \Symfony\Component\Form\Form
but \OpenOrchestra\BackofficeBundle\Controller\KeywordController::handleForm()
takes \Symfony\Component\Form\FormInterface
defined at /code/BackofficeBundle/Controller/AbstractAdminController.php:29
Open
Open
if ($this->handleForm($form, $message, $keyword)) {
- Create a ticketCreate a ticket
- Exclude checks
Argument 2 (event)
is \OpenOrchestra\ModelInterface\Event\KeywordEvent
but \OpenOrchestra\BackofficeBundle\Controller\KeywordController::dispatchEvent()
takes \Symfony\Component\EventDispatcher\Event
defined at /code/BackofficeBundle/Controller/AbstractAdminController.php:81
Open
Open
$this->dispatchEvent(KeywordEvents::KEYWORD_CREATE, new KeywordEvent($keyword));
- Create a ticketCreate a ticket
- Exclude checks
Reference to constant HTTP_CREATED
from undeclared class \Symfony\Component\HttpFoundation\Response
Open
Open
Response::HTTP_CREATED,
- Create a ticketCreate a ticket
- Exclude checks
Reference to constant KEYWORD_CREATE
from undeclared class \OpenOrchestra\ModelInterface\KeywordEvents
Open
Open
$this->dispatchEvent(KeywordEvents::KEYWORD_CREATE, new KeywordEvent($keyword));
- Create a ticketCreate a ticket
- Exclude checks
Call to undeclared method \OpenOrchestra\BackofficeBundle\Controller\KeywordController::generateUrl
Open
Open
'action' => $this->generateUrl('open_orchestra_backoffice_keyword_new'),
- Create a ticketCreate a ticket
- Exclude checks
Call to method __construct
from undeclared class \OpenOrchestra\ModelInterface\Event\KeywordEvent
Open
Open
$this->dispatchEvent(KeywordEvents::KEYWORD_CREATE, new KeywordEvent($keyword));
- Create a ticketCreate a ticket
- Exclude checks
Call to undeclared method \OpenOrchestra\BackofficeBundle\Controller\KeywordController::get
Open
Open
$message = $this->get('translator')->trans('open_orchestra_backoffice.form.keyword.creation');
- Create a ticketCreate a ticket
- Exclude checks
Call to method __construct
from undeclared class \Symfony\Component\HttpFoundation\Response
Open
Open
$response = new Response(
- Create a ticketCreate a ticket
- Exclude checks
Argument 1 (form)
is \Symfony\Component\Form\Form
but \OpenOrchestra\BackofficeBundle\Controller\KeywordController::renderAdminForm()
takes \Symfony\Component\Form\FormInterface
defined at /code/BackofficeBundle/Controller/AbstractAdminController.php:58
Open
Open
return $this->renderAdminForm($form);
- Create a ticketCreate a ticket
- Exclude checks
Line exceeds 120 characters; contains 122 characters Open
Open
'action' => $this->generateUrl('open_orchestra_backoffice_keyword_form', array('keywordId' => $keywordId))
- Create a ticketCreate a ticket
- Exclude checks
Line exceeds 120 characters; contains 134 characters Open
Open
array('Content-type' => 'text/html; charset=utf-8', 'keywordId' => $keyword->getId(), 'name' => $keyword->getLabel())
- Create a ticketCreate a ticket
- Exclude checks