Last active
February 2, 2016 12:11
-
-
Save mlebkowski/b4a2ad5dce147b6d568f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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