Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.