container = $container; } protected function get($name, $default = null) { if (!$this->container->has($name)) { return $default; } return $this->container->get($name); } }