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

Improve cbr provider #14

Merged
merged 3 commits into from Nov 20, 2015
Merged

Improve cbr provider #14

merged 3 commits into from Nov 20, 2015

Conversation

remedge
Copy link
Contributor

@remedge remedge commented Nov 17, 2015

  • add loader classes;
  • add tests.

*/
public function parse($string)
{
return new \SimpleXMLElement($string);
Copy link
Member

Choose a reason for hiding this comment

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

What is the purpose to move it to external class?
You can reach the same effect just having SOAPLoader and mocking of it.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

You are quite right, it is unnecessary class.

- remove XMLParser class;
- remove extra underscores;
- refactoring tests.
maZahaca added a commit that referenced this pull request Nov 20, 2015
@maZahaca maZahaca merged commit 9050f5d into redco:master Nov 20, 2015
@maZahaca
Copy link
Member

Great!

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