PHP 클래스 Lemon\RestBundle\Request\Handler

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

보호된 프로퍼티들

프로퍼티 타입 설명
$envelopeFactory Lemon\RestBundle\Object\Envelope\EnvelopeFactory
$logger Psr\Log\LoggerInterface
$managerFactory Lemon\RestBundle\Object\ManagerFactoryInterface
$negotiator Negotiation\FormatNegotiator
$serializer Lemon\RestBundle\Serializer\ConstructorFactory

공개 메소드들

메소드 설명
__construct ( Lemon\RestBundle\Object\ManagerFactoryInterface $managerFactory, EnvelopeFactory $envelopeFactory, ConstructorFactory $serializer, Negotiation\FormatNegotiator $negotiator, Psr\Log\LoggerInterface $logger = null )
handle ( Request $request, Response $response, string $resource, Closure $callback ) : Response
options ( Request $request, Response $response, $resource, $id = null )

메소드 상세

__construct() 공개 메소드

public __construct ( Lemon\RestBundle\Object\ManagerFactoryInterface $managerFactory, EnvelopeFactory $envelopeFactory, ConstructorFactory $serializer, Negotiation\FormatNegotiator $negotiator, Psr\Log\LoggerInterface $logger = null )
$managerFactory Lemon\RestBundle\Object\ManagerFactoryInterface
$envelopeFactory Lemon\RestBundle\Object\Envelope\EnvelopeFactory
$serializer Lemon\RestBundle\Serializer\ConstructorFactory
$negotiator Negotiation\FormatNegotiator
$logger Psr\Log\LoggerInterface

handle() 공개 메소드

public handle ( Request $request, Response $response, string $resource, Closure $callback ) : Response
$request Symfony\Component\HttpFoundation\Request
$response Symfony\Component\HttpFoundation\Response
$resource string
$callback Closure
리턴 Symfony\Component\HttpFoundation\Response

options() 공개 메소드

public options ( Request $request, Response $response, $resource, $id = null )
$request Symfony\Component\HttpFoundation\Request
$response Symfony\Component\HttpFoundation\Response

프로퍼티 상세

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

protected EnvelopeFactory,Lemon\RestBundle\Object\Envelope $envelopeFactory
리턴 Lemon\RestBundle\Object\Envelope\EnvelopeFactory

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

protected LoggerInterface,Psr\Log $logger
리턴 Psr\Log\LoggerInterface

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

protected ManagerFactoryInterface,Lemon\RestBundle\Object $managerFactory
리턴 Lemon\RestBundle\Object\ManagerFactoryInterface

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

protected FormatNegotiator,Negotiation $negotiator
리턴 Negotiation\FormatNegotiator

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

protected ConstructorFactory,Lemon\RestBundle\Serializer $serializer
리턴 Lemon\RestBundle\Serializer\ConstructorFactory