<commit_before><?php
namespace Concrete\Core\Database;
use Doctrine\ORM\Tools\Setup;
use Doctrine\ORM\EntityManager;

class Connection extends \Doctrine\DBAL\Connection {

    protected static $entityManager;

    protected function __construct() {}

    /** 
     * Returns the entity manager for use with Doctrine ORM
     * @return EntityManager<commit_msg>Revert "Merge pull request #91 from mkly/database_singleton_fixes"<commit_after><?php
namespace Concrete\Core\Database;
use Doctrine\ORM\Tools\Setup;
use Doctrine\ORM\EntityManager;

class Connection extends \Doctrine\DBAL\Connection {

    static $entityManager;

    /** 
     * Returns the entity manager for use with Doctrine ORM
{'fraction_non_alphanumeric': 0.08658008658008658, 'fraction_numerical': 0.002886002886002886, 'mean_word_length': 4.338461538461538, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '2481773', 'n_tokens_mistral': 199, 'n_tokens_neox': 192, 'n_words': 55}