src/Wrapper.php
public static function createObject($class, ...$args) : object
    {
        $work = self::wrapObject($class);
        $work->__gentryConstruct(...$args);
        return $work;
    }
public static function createObject($class, ...$args) : object
    {
        $work = self::wrapObject($class);
        $work->__gentryConstruct(...$args);
        return $work;
    }
public static function createObject ( $ class , ... $ args ) : object { $ work = self :: wrapObject ( $ class ) ; $ work -> __gentryConstruct ( ... $ args ) ; return $ work ; }
Creates an anonymous object based on a reflection.

@param mixed $class A class, object or trait to wrap.
@param mixed ...$args Arguments for use during construction.
@return object An anonymous, wrapped object.
@see Wrapper::wrapObject
Creates an anonymous object based on a reflection .