<commit_before><?php namespace Maduser\Minimal\Facades;

use Maduser\Minimal\Database\Connectors\PDO as Instance;

class PDO extends Facade
{
    /**
     * @var
     */
    protected static $instance;

    /**
     * @return CollectionInterface
     */
    public static function getInstance()
    {
        if (is_null(static::$instance)) {
            static::$instance = Instance::class;
        }

        return static::$instance;
    }
}<commit_msg>Added method connection()<commit_after><?php namespace Maduser\Minimal\Facades;

use Maduser\Minimal\Database\Connectors\PDO as Instance;

class PDO extends Facade
{
    /**
     * @var
     */
    protected static $instance;

    /**
     * @return Instance
     */
    public static function getInstance()
    {
        if (is_null(static::$instance)) {
            static::$instance = Instance::class;
        }

        return static::$instance;
    }

    public static function connection(array $dbCredentials = [])
    {
        return self::call();
    }
}
{'fraction_non_alphanumeric': 0.12254901960784313, 'fraction_numerical': 0.0, 'mean_word_length': 2.39202657807309, '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': '6059560', 'n_tokens_mistral': 291, 'n_tokens_neox': 298, 'n_words': 63}