private function privateKey() { if (!Pingpp::$privateKey) { if (!Pingpp::$privateKeyPath) { return NULL; } if (!file_exists(Pingpp::$privateKeyPath)) { throw new Error\Api('Private key file not found at: ' . Pingpp::$privateKeyPath); } Pingpp::$privateKey = file_get_contents(Pingpp::$privateKeyPath); } return Pingpp::$privateKey; }