<?php

namespace Overblog\WsClientBundle\Client;

interface WsClientInterface
{
    /**
     * Get Request
     * @param string $uri
     * @param array $param
     * @return array
     */
    public function get($uri, Array $param = array());

    /**
     * Exec stocked requests
     * @return array
     */
    public function exec();

    /**
     * Get connection and save it into object
     *
     * @param string $name
     * @return WsClient
     */
    public function getConnection($name);
}

Add an interface to be able to inject a wsClient stub in type-constrained methods
Add an interface to be able to inject a wsClient stub in type-constrained methods
