commit vendor
This commit is contained in:
41
vendor/laminas/laminas-serializer/src/ConfigProvider.php
vendored
Normal file
41
vendor/laminas/laminas-serializer/src/ConfigProvider.php
vendored
Normal file
@ -0,0 +1,41 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @see https://github.com/laminas/laminas-serializer for the canonical source repository
|
||||
* @copyright https://github.com/laminas/laminas-serializer/blob/master/COPYRIGHT.md
|
||||
* @license https://github.com/laminas/laminas-serializer/blob/master/LICENSE.md New BSD License
|
||||
*/
|
||||
|
||||
namespace Laminas\Serializer;
|
||||
|
||||
class ConfigProvider
|
||||
{
|
||||
/**
|
||||
* Return configuration for this component.
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function __invoke()
|
||||
{
|
||||
return [
|
||||
'dependencies' => $this->getDependencyConfig(),
|
||||
];
|
||||
}
|
||||
|
||||
/**
|
||||
* Return dependency mappings for this component.
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function getDependencyConfig()
|
||||
{
|
||||
return [
|
||||
// Legacy Zend Framework aliases
|
||||
'aliases' => [
|
||||
],
|
||||
'factories' => [
|
||||
'SerializerAdapterManager' => AdapterPluginManagerFactory::class,
|
||||
],
|
||||
];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user