src/ApiManager.php
protected function setupConnectionFactory(ConnectionResolverInterface $connectionResolver)
    {
        Model::setConnectionResolver($connectionResolver);

        $this->connectionFactory = new ConnectionFactory($connectionResolver);
    }
protected function setupConnectionFactory(ConnectionResolverInterface $connectionResolver)
    {
        Model::setConnectionResolver($connectionResolver);

        $this->connectionFactory = new ConnectionFactory($connectionResolver);
    }
protected function setupConnectionFactory ( ConnectionResolverInterface $ connectionResolver ) { Model :: setConnectionResolver ( $ connectionResolver ) ; $ this -> connectionFactory = new ConnectionFactory ( $ connectionResolver ) ; }
Build the connection factory instance.

@param  ConnectionResolverInterface  $connectionResolver
Build the connection factory instance .