private function __construct() { $setting = Setting::first(); if ($setting) { self::$google_api_key = $setting->api_key; } }