Skip to content

Instantly share code, notes, and snippets.

@solocommand
Last active August 29, 2015 14:07
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 solocommand/c0872d93e781122ad65f to your computer and use it in GitHub Desktop.
Save solocommand/c0872d93e781122ad65f to your computer and use it in GitHub Desktop.
Import Interfaces Outline
<?php
namespace Cygnus\Foo
interface ImportSourceInterface
{
public function loadExternalData();
public function format();
public function getData();
public function setProcessor(ImportProcessorInterface $source);
}
interface ImportProcessorInterface
{
public function process();
public function getProcessedData();
public function import();
public function setImporter(Importer $importer);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment