Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding interface for HttpConnector, for use in continuous pipe #22

Closed
wants to merge 2 commits into from
Closed

Adding interface for HttpConnector, for use in continuous pipe #22

wants to merge 2 commits into from

Conversation

Sam-Burns
Copy link
Contributor

No description provided.

Copy link
Owner

@sroze sroze left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The HttpClient is supposed to be the abstraction you are looking for, rather than adding an interface in here.

* @param HttpClient $httpClient
* @param SerializerInterface $serializer
*/
public function __construct(HttpClient $httpClient, SerializerInterface $serializer);
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you remove the constructor from the interface please?

@sroze
Copy link
Owner

sroze commented Jan 12, 2017

Closing, as per my comment.

@sroze sroze closed this Jan 12, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants