HttpMessageFactoryServiceProvider
This file is part of php-fast-forward/http-factory.
Description
This source file is subject to the license bundled with this source code in the file LICENSE.
Description
https://opensource.org/licenses/MIT MIT License
Interfaces
Methods
Returns an array of service extensions.
Returns a list of service factories compliant with PSR-11.
Returns an array of service extensions.
public
getExtensions() : array<string, callable>
Description
This service provider does not define extensions and SHALL return an empty array.
Return values
Description
an empty array
Returns a list of service factories compliant with PSR-11.
public
getFactories() : array<string, callable>
Description
This method defines mappings for PSR-17 and PSR-7 related interfaces using Nyholm's implementation. Aliases are created for consistency across PSR interfaces by reusing a single Psr17Factory instance.
Return values
Description
an associative array of service identifiers to factory definitions