protected function preResolveInstances()
    {
        $resolves = $this->container->make('config')
            ->get('swoole_http.pre_resolved', []);

        foreach ($resolves as $abstract) {
            if ($this->getApplication()->offsetExists($abstract)) {
                $this->getApplication()->make($abstract);
            }
        }
    }
protected function preResolveInstances()
    {
        $resolves = $this->container->make('config')
            ->get('swoole_http.pre_resolved', []);

        foreach ($resolves as $abstract) {
            if ($this->getApplication()->offsetExists($abstract)) {
                $this->getApplication()->make($abstract);
            }
        }
    }
protected function preResolveInstances ( ) { $ resolves = $ this -> container -> make ( 'config' ) -> get ( 'swoole_http.pre_resolved' , [ ] ) ; foreach ( $ resolves as $ abstract ) { if ( $ this -> getApplication ( ) -> offsetExists ( $ abstract ) ) { $ this -> getApplication ( ) -> make ( $ abstract ) ; } } }
Reslove some instances before request.

@throws \ReflectionException
Reslove some instances before request .