Skip to content

Instantly share code, notes, and snippets.

@mlebkowski
Last active February 2, 2016 12:11
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 mlebkowski/b4a2ad5dce147b6d568f to your computer and use it in GitHub Desktop.
Save mlebkowski/b4a2ad5dce147b6d568f to your computer and use it in GitHub Desktop.
<?php
interface ContactDiffServiceInterface
{
public function generateDiffContact(ContactInterface $baseContact, ContactInterface $toDiff, $cleanup = true);
}
class ContactDiffService implements ContactDiffServiceInterface
{
public function __construct(IpressoFactoryInterface $factory, AttributeTypeFormatter $formatter);
public function generateDiffContact(ContactInterface $baseContact, ContactInterface $toDiff, $cleanup = true);
public function setAgreementsCleaner(AgreementsCleanerInterface $agreementsCleaner);
public function setAttributesCleaner(AttributesCleanerInterface $attributesCleaner);
public function setCategoriesCleaner(CategoriesCleanerInterface $categoriesCleaner);
}
class ContactDiffServiceFacade implements ContactDiffServiceInterface
{
public function __construct(ContactDiffServiceInterface $contactDiffService);
public function generateDiffContact(ContactInterface $baseContact, ContactInterface $toDiff, $cleanup = true);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment