environment = $environment; $this->config = $config; $this->storage = $storage; $this->browser = $browser; } /** * @return array */ protected function get_headers() { return array( 'Plugin-Version' => TWOFAS_PLUGIN_VERSION, 'App-Version' => $this->environment->get_wordpress_version(), 'App-Name' => $this->environment->get_wordpress_app_name(), 'App-Url' => $this->environment->get_wordpress_app_url(), 'Browser-Version' => $this->browser->describe(), 'Php-Version' => PHP_VERSION, ); } }