<commit_before><?php
/**
 * Zend Framework (http://framework.zend.com/)
 *
 * @link      http://github.com/zendframework/zf2 for the canonical source repository
 * @copyright Copyright (c) 2005-2013 Zend Technologies USA Inc. (http://www.zend.com)
 * @license   http://framework.zend.com/license/new-bsd New BSD License
 */

namespace Zend\Session\Service;

use Zend\ServiceManager\AbstractFactoryInterface;
use Zend\ServiceManager\ServiceLocatorInterface;
use Zend\Session\Container;

/**
 * Session container abstract service factory.
 *
 * Allows creating Container instances, using the Zend\Service\ManagerInterface 
 * if present. Containers are named in a "session_containers" array in the
 * Config service:
 *
 * <code>
 * return array(
 *     'session_containers' => array(
 *         'auth',
 *         'user',
 *         'captcha',
 *     ),
 * );
 * </code>
 *
 * Services use the prefix "SessionConfig\\":
 *
 * <code>
 * $container = $services->get('SessionConfig\captcha');
 * </code>
 */
class ContainerAbstractFactory implements AbstractFactoryInterface
{
    /**
     * Cached container configuration
     *
     * @var array<commit_msg>Fixes typo in docblock<commit_after><?php
/**
 * Zend Framework (http://framework.zend.com/)
 *
 * @link      http://github.com/zendframework/zf2 for the canonical source repository
 * @copyright Copyright (c) 2005-2013 Zend Technologies USA Inc. (http://www.zend.com)
 * @license   http://framework.zend.com/license/new-bsd New BSD License
 */

namespace Zend\Session\Service;

use Zend\ServiceManager\AbstractFactoryInterface;
use Zend\ServiceManager\ServiceLocatorInterface;
use Zend\Session\Container;

/**
 * Session container abstract service factory.
 *
 * Allows creating Container instances, using the Zend\Service\ManagerInterface 
 * if present. Containers are named in a "session_containers" array in the
 * Config service:
 *
 * <code>
 * return array(
 *     'session_containers' => array(
 *         'auth',
 *         'user',
 *         'captcha',
 *     ),
 * );
 * </code>
 *
 * Services use the prefix "SessionContainer\\":
 *
 * <code>
 * $container = $services->get('SessionContainer\captcha');
 * </code>
 */
class ContainerAbstractFactory implements AbstractFactoryInterface
{
    /**
     * Cached container configuration
     *
     * @var array
{'fraction_non_alphanumeric': 0.12903225806451613, 'fraction_numerical': 0.007741935483870968, 'mean_word_length': 3.4559386973180075, 'pattern_counts': {'":': 2, '<': 13, '<?xml version=': 0, '>': 15, 'https://': 0, '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': '2649644', 'n_tokens_mistral': 693, 'n_tokens_neox': 654, 'n_words': 172}