Skip to content

Instantly share code, notes, and snippets.

@mbunge
Last active December 18, 2015 21:49
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save mbunge/5849959 to your computer and use it in GitHub Desktop.
Some ideas how bootstrapper could work.
<?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