This repository was 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\HalResponseFactoryto read:public function __construct( callable $responseFactory, Renderer\JsonRenderer $jsonRenderer = null, Renderer\XmlRenderer $xmlRenderer = null )
Previously, the
$responseFactoryargument 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
HalResponseFactoryFactoryto follow the changes made to theHalResponseFactoryconstructor. It now requires that aPsr\Http\Message\ResponseInterfaceservice be registered, and that the service resolve to acallablecapable of producing aResponseInterfaceinstance.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- Nothing.