PHP Class Lemon\RestBundle\Controller\IndexController

Afficher le fichier Open project: stanlemon/rest-bundle Class Usage Examples

Protected Properties

Свойство Type Description
$negotiator FormatNegotiatorInterface
$registry Lemon\RestBundle\Object\Registry
$router Symfony\Component\Routing\RouterInterface
$serializer JMS\Serializer\Serializer

Méthodes publiques

Méthode Description
__construct ( Negotiation\FormatNegotiator $negotiator, JMS\Serializer\Serializer $serializer, Registry $registry, Symfony\Component\Routing\RouterInterface $router )
indexAction ( Request $request ) : Response

Method Details

__construct() public méthode

public __construct ( Negotiation\FormatNegotiator $negotiator, JMS\Serializer\Serializer $serializer, Registry $registry, Symfony\Component\Routing\RouterInterface $router )
$negotiator Negotiation\FormatNegotiator
$serializer JMS\Serializer\Serializer
$registry Lemon\RestBundle\Object\Registry
$router Symfony\Component\Routing\RouterInterface

indexAction() public méthode

public indexAction ( Request $request ) : Response
$request Symfony\Component\HttpFoundation\Request
Résultat Symfony\Component\HttpFoundation\Response

Property Details

$negotiator protected_oe property

protected FormatNegotiatorInterface $negotiator
Résultat FormatNegotiatorInterface

$registry protected_oe property

protected Registry,Lemon\RestBundle\Object $registry
Résultat Lemon\RestBundle\Object\Registry

$router protected_oe property

protected RouterInterface,Symfony\Component\Routing $router
Résultat Symfony\Component\Routing\RouterInterface

$serializer protected_oe property

protected Serializer,JMS\Serializer $serializer
Résultat JMS\Serializer\Serializer