<commit_before><?php
/**
 * @see       https://github.com/zendframework/zend-di for the canonical source repository
 * @copyright Copyright (c) 2017 Zend Technologies USA Inc. (http://www.zend.com)
 * @license   https://github.com/zendframework/zend-di/blob/master/LICENSE.md New BSD License
 */

namespace Zend\Di;

/**
 * Implements the config provider for zend-expressive
 */
class ConfigProvider
{
    /**
     * Implements the config provider
     *
     * @return array The configuration for zend-expressive
     */
    public function __invoke() : array
    {
        return [
            'dependencies' => $this->getDependencyConfig()
        ];
    }

    /**
     * Returns the dependency (service manager) configuration
     *
     * @return array
     */
    public function getDependencyConfig() : array
    {
        return [
            'factories' => [
                InjectorInterface::class => Container\InjectorFactory::class,
                ConfigInterface::class => Container\ConfigFactory::class
            ],
            'abstract_factories' => [
                Container\AutowireFactory::class
            ]
        ];
    }
}<commit_msg>Fix servicemanager config<commit_after><?php
/**
 * @see       https://github.com/zendframework/zend-di for the canonical source repository
 * @copyright Copyright (c) 2017 Zend Technologies USA Inc. (http://www.zend.com)
 * @license   https://github.com/zendframework/zend-di/blob/master/LICENSE.md New BSD License
 */

namespace Zend\Di;

/**
 * Implements the config provider for zend-expressive
 */
class ConfigProvider
{
    /**
     * Implements the config provider
     *
     * @return array The configuration for zend-expressive
     */
    public function __invoke() : array
    {
        return [
            'dependencies' => $this->getDependencyConfig()
        ];
    }

    /**
     * Returns the dependency (service manager) configuration
     *
     * @return array
     */
    public function getDependencyConfig() : array
    {
        return [
            'factories' => [
                InjectorInterface::class => Container\InjectorFactory::class,
                ConfigInterface::class => Container\ConfigFactory::class
            ],
            'abstract_factories' => [
                Container\ServiceManager\AutowireFactory::class
            ]
        ];
    }
}
{'fraction_non_alphanumeric': 0.11233573548113608, 'fraction_numerical': 0.003391267486222976, 'mean_word_length': 2.1550802139037435, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 15, 'https://': 4, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3705901', 'n_tokens_mistral': 637, 'n_tokens_neox': 618, 'n_words': 140}