__construct() public method

public __construct ( WoohooLabs\Yin\JsonApi\Request\RequestInterface $request, Psr\Http\Message\ResponseInterface $response, WoohooLabs\Yin\JsonApi\Exception\ExceptionFactoryInterface $exceptionFactory, WoohooLabs\Yin\JsonApi\Serializer\SerializerInterface $serializer )
$request WoohooLabs\Yin\JsonApi\Request\RequestInterface
$response Psr\Http\Message\ResponseInterface
$exceptionFactory WoohooLabs\Yin\JsonApi\Exception\ExceptionFactoryInterface
$serializer WoohooLabs\Yin\JsonApi\Serializer\SerializerInterface
Exemplo n.º 1
0
 /**
  * @param \WoohooLabs\Yin\JsonApi\Request\RequestInterface $request
  * @param \Psr\Http\Message\ResponseInterface $response
  * @param \WoohooLabs\Yin\JsonApi\Exception\ExceptionFactoryInterface $exceptionFactory
  * @param string $relationshipName
  */
 public function __construct(RequestInterface $request, ResponseInterface $response, ExceptionFactoryInterface $exceptionFactory, $relationshipName)
 {
     parent::__construct($request, $response, $exceptionFactory);
     $this->relationshipName = $relationshipName;
 }
Exemplo n.º 2
0
 /**
  * @param \WoohooLabs\Yin\JsonApi\Request\RequestInterface $request
  * @param \Psr\Http\Message\ResponseInterface $response
  * @param \WoohooLabs\Yin\JsonApi\Exception\ExceptionFactoryInterface $exceptionFactory
  */
 public function __construct(RequestInterface $request, ResponseInterface $response, ExceptionFactoryInterface $exceptionFactory)
 {
     parent::__construct($request, $response, $exceptionFactory);
 }
Exemplo n.º 3
0
 /**
  * @param \WoohooLabs\Yin\JsonApi\Request\RequestInterface $request
  * @param \Psr\Http\Message\ResponseInterface $response
  * @param \WoohooLabs\Yin\JsonApi\Exception\ExceptionFactoryInterface $exceptionFactory
  * @param SerializerInterface $serializer
  */
 public function __construct(RequestInterface $request, ResponseInterface $response, ExceptionFactoryInterface $exceptionFactory, SerializerInterface $serializer)
 {
     parent::__construct($request, $response, $exceptionFactory, $serializer);
 }