This repository has been archived by the owner on Jan 29, 2020. It is now read-only.
zend-expressive-hal 1.0.0
Added
- Nothing.
Changed
-
#31 changes the constructor signature of
Zend\Expressive\Hal\HalResponseFactory
to read:public function __construct( callable $responseFactory, Renderer\JsonRenderer $jsonRenderer = null, Renderer\XmlRenderer $xmlRenderer = null )
Previously, the
$responseFactory
argument was aPsr\Http\Message\ResponseInterface $responsePrototype
; it is now a PHP callable capable of producing a new, empty instance of that type.Additionally, the signature previously included a callable
$streamFactory
; this has been removed. -
#31 updates the
HalResponseFactoryFactory
to follow the changes made to theHalResponseFactory
constructor. It now requires that aPsr\Http\Message\ResponseInterface
service be registered, and that the service resolve to acallable
capable of producing aResponseInterface
instance.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- Nothing.