public function injectLoader(Logger $logger) { $this->container->set('logger', $logger); return $this; }