<?php

namespace UtillzTheme\Inc\Utils;

class Register {

    use \UtillzTheme\Inc\Src\Traits\Singleton;

    function __construct() {
        // ..
    }
    public $classes;
    public function register( $name, $inst = false ) {

		$this->classes[ $name ] = $inst;

	}

    public function __call( $method, $params ) {

        if ( isset( $this->classes[ $method ] ) ) {
            return $this->classes[ $method ];
        }

        return;

    }

}
