Skip to content

Instantly share code, notes, and snippets.

@jmoz
Created May 16, 2011 15:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jmoz/974611 to your computer and use it in GitHub Desktop.
Save jmoz/974611 to your computer and use it in GitHub Desktop.
Action refactored 1
<?php
public function executeWebServiceCall() {
$client = new ServiceClient(new FooService(), new Http(), $this->getLogger());
$this->renderText($client->call());
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment