HEX
Server: Apache
System: Linux sg2plzcpnl489574.prod.sin2.secureserver.net 4.18.0-553.52.1.lve.el8.x86_64 #1 SMP Wed May 21 15:31:29 UTC 2025 x86_64
User: bpw3460lz1vy (8493017)
PHP: 7.4.33
Disabled: NONE
Upload Files
File: /home/bpw3460lz1vy/public_html/wp-content/plugins/wp-migrate-db/class/Container.php
<?php


namespace DeliciousBrains\WPMDB;

/**
 * Class Container
 *
 * THIS CLASS EXISTS AS A BACK-COMPAT FOR PRE 2.0 VERSIONS OF THE PLUGIN AND ADDONS
 *
 * @package DeliciousBrains\WPMDB
 */
class Container
{

    public $providers = [];
    public $classes = [];
    public $props;

    public static function getInstance()
    {
    }

    public function get()
    {
        //For back-compat
        return $this;
    }

    public function addClass($key, $instance)
    {
        $this->classes[$key] = $instance;

        return $instance;
    }

    //For back-compat
    public function add($key, $instance)
    {
        return $this;
    }

    public function has($id)
    {
        if (!array_key_exists($id, $this->classes)) {
            return true;
        }

        return false;
    }

    //For back-compat
    public function withArguments()
    {
        //NoOp
    }

    //For back-compat
    public function register()
    {
        //NoOp
    }
}