public function setContainer(\Phrozn\Registry\Container $container = null) { $this->container = $container; return $this; }