Singleton.php
private function addMethod(string $name, callable $closure): void
    {
        $this->methods[$name] = \Closure::bind($closure, $this, static::class);
    }
private function addMethod(string $name, callable $closure): void
    {
        $this->methods[$name] = \Closure::bind($closure, $this, static::class);
    }
Attempt to bind a closure to the working scope. This would mean the calling class
not the class which uses the Singelton trait
@param $name
@param $closure
@noinspection PhpUnusedPrivateMethodInspection