This repository has been archived by the owner on Jan 29, 2020. It is now read-only.
zend-expressive-hal 0.6.0
Added
- Nothing.
Changed
-
#23 modifies how the resource generator factory adds strategies and maps metadata to strategies. It now adds the following factories under the
Zend\Expressive\Hal\Metadata
namespace:RouteBasedCollectionMetadataFactory
RouteBasedResourceMetadataFactory
UrlBasedCollectionMetadataFactory
UrlBasedResourceMetadataFactory
Each implements a new
MetadataFactoryInterface
under that same namespace that accepts the requested metadata type name and associated metadata in order to create anAbstractMetadata
instance. Metadata types are mapped to their factories under thezend-expressive-hal.metadata-factories
key.Strategies are now configured as metadata => strategy class pairings under the
zend-expressive-hal.resource-generator.strategies
key.In both cases, defaults that mimic previous behavior are provided via the
ConfigProvider
.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- Nothing.