Skip to content

Instantly share code, notes, and snippets.

@reecefowell
Created February 16, 2013 11:46
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save reecefowell/4966533 to your computer and use it in GitHub Desktop.
Save reecefowell/4966533 to your computer and use it in GitHub Desktop.
Crapola
interface ChainedInterface
{
public function init();
public function prerequisites();
}
class SetupVHost implements ChainedInterface
{
public function init()
{
$this->prerequisites();
}
public function prerequisites()
{
}
}
class SetupMySQL implements ChainedInterface
{
public function init()
{
$this->prerequisites();
}
public function prerequisites()
{
$this->SetupVHost->init();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment