private function makeConstructParams($class)
    {
        $params = [];
        $reflectionClass = new \ReflectionClass($class);
        if ($reflectionClass->getConstructor()) {
            foreach ($reflectionClass->getConstructor()->getParameters() as $param) {
                $type = $param->getClass()->name;
                $params[] = new $type;
            }
        }
        return $params;
    }