public function registerPackage(string $sPackageClass, Closure $xClosure)
    {
        $this->aPackages[] = $sPackageClass;
        jaxon()->di()->set($sPackageClass, $xClosure);
    }
public function registerPackage(string $sPackageClass, Closure $xClosure)
    {
        $this->aPackages[] = $sPackageClass;
        jaxon()->di()->set($sPackageClass, $xClosure);
    }
public function registerPackage ( string $ sPackageClass , Closure $ xClosure ) { $ this -> aPackages [ ] = $ sPackageClass ; jaxon ( ) -> di ( ) -> set ( $ sPackageClass , $ xClosure ) ; }
Register a package

@param string         $sPackageClass         The package class name
@param Closure        $xClosure              A closure to create package instance

@return void
Register a package