app = $engine; } public function before(array $params) { echo 'I returned before the route was called with the following parameters: ' . json_encode($params); } public function testTheContainer() { return $this->app->get('test_me_out'); } public function echoTheContainer() { echo $this->app->get('test_me_out'); } public function testUi() { echo 'Route text: The container successfully injected a value into the engine! Engine class: ' . get_class($this->app) . ' test_me_out Value: ' . $this->app->get('test_me_out') . ''; } }