Some ideas how bootstrapper could work.
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 Bootstrap { | |
public function setBootstrapper(Bootstrapper $object); | |
public function registerTask($name, $callable); | |
public function getTasks(); | |
} | |
interface Bootstrapper { | |
public function setParam($name,$value); | |
public function getParam($name,$value); | |
public function addBootstrap(Bootstrap $object); | |
public function execute(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment