public static function make()
    {
        $name = get_called_class();

        if (!isset(static::$instances[$name])) {

            $instance = new $name();

            static::$instances[$name] = method_exists($instance, 'boot') ? $instance->boot() : $instance;
        }

        return static::$instances[$name];
    }
public static function make()
    {
        $name = get_called_class();

        if (!isset(static::$instances[$name])) {

            $instance = new $name();

            static::$instances[$name] = method_exists($instance, 'boot') ? $instance->boot() : $instance;
        }

        return static::$instances[$name];
    }
public static function make ( ) { $ name = get_called_class ( ) ; if ( ! isset ( static :: $ instances [ $ name ] ) ) { $ instance = new $ name ( ) ; static :: $ instances [ $ name ] = method_exists ( $ instance , 'boot' ) ? $ instance -> boot ( ) : $ instance ; } return static :: $ instances [ $ name ] ; }
Returns an instance of Zit or an extending class

@return static
Returns an instance of Zit or an extending class