Skip to content

Instantly share code, notes, and snippets.

@FabianWesner
Created March 17, 2017 16:27
Show Gist options
  • Select an option

  • Save FabianWesner/d3a6044d313629c12a2ff558b9814a7f to your computer and use it in GitHub Desktop.

Select an option

Save FabianWesner/d3a6044d313629c12a2ff558b9814a7f to your computer and use it in GitHub Desktop.
<?php
namespace Spryker\Zed\Mail\Business;
class MailBusinessFactory extends AbstractBusinessFactory
{
/**
* @return \Spryker\Zed\Mail\Business\Model\Mailer\MailHandlerInterface
*/
public function createMailHandler()
{
return new MailHandler(
$this->createMailBuilder(),
$this->getMailTypeCollection(),
$this->getMailProviderCollection()
);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment