Skip to content

Instantly share code, notes, and snippets.

@yakirh
Created August 13, 2013 15:51
Show Gist options
  • Select an option

  • Save yakirh/6222604 to your computer and use it in GitHub Desktop.

Select an option

Save yakirh/6222604 to your computer and use it in GitHub Desktop.
repository instances without DI container
public function post_collection()
{
$result =
(
new Context_Installer_Geo_Create(
$this->_request_payload,
new Repository_Product,
new Repository_Installer,
new Repository_Installer_Geo,
new Repository_Installer_Geo_Step,
new Repository_Installer_Geo_Step_Prod,
new Repository_Installer_Geo_Step_Prod_Param
)
)
->execute();
$this->_response_payload = $result['data_array'];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment