Created
February 16, 2013 11:46
-
-
Save reecefowell/4966533 to your computer and use it in GitHub Desktop.
Crapola
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
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