public static function getScaffoldController(
        Controller $instance, $options = [])
    {

        $options = array_merge(
            [
                'controller' => $instance,
                'request' => $instance->request,
                'response' => $instance->response,
                'view' => $instance->view,
                'layout' => $instance->layout,
                'basePath' => $instance->basePath
            ],
            $options
        );
        return new static($options);
    }