PHP 클래스 Lemon\RestBundle\Controller\IndexController

파일 보기 프로젝트 열기: stanlemon/rest-bundle 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$negotiator FormatNegotiatorInterface
$registry Lemon\RestBundle\Object\Registry
$router Symfony\Component\Routing\RouterInterface
$serializer JMS\Serializer\Serializer

공개 메소드들

메소드 설명
__construct ( Negotiation\FormatNegotiator $negotiator, JMS\Serializer\Serializer $serializer, Registry $registry, Symfony\Component\Routing\RouterInterface $router )
indexAction ( Request $request ) : Response

메소드 상세

__construct() 공개 메소드

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 indexAction ( Request $request ) : Response
$request Symfony\Component\HttpFoundation\Request
리턴 Symfony\Component\HttpFoundation\Response

프로퍼티 상세

$negotiator 보호되어 있는 프로퍼티

protected FormatNegotiatorInterface $negotiator
리턴 FormatNegotiatorInterface

$registry 보호되어 있는 프로퍼티

protected Registry,Lemon\RestBundle\Object $registry
리턴 Lemon\RestBundle\Object\Registry

$router 보호되어 있는 프로퍼티

protected RouterInterface,Symfony\Component\Routing $router
리턴 Symfony\Component\Routing\RouterInterface

$serializer 보호되어 있는 프로퍼티

protected Serializer,JMS\Serializer $serializer
리턴 JMS\Serializer\Serializer