public function __construct(BootstrapInterface $bootstrap, $defaultMethod = 'index') { $this->bootstrap = $bootstrap; $this->method = $defaultMethod; }